--- Makefile.old 2004-05-12 11:38:22.000000000 +0200 +++ Makefile 2004-05-12 11:46:17.000000000 +0200 @@ -36,6 +36,9 @@ ifneq ($(shell grep -i slackware /etc/issue),) DIST = MANDRAKE endif + ifneq ($(shell grep -i Gentoo /etc/gentoo-release),) +DIST = GENTOO + endif endif ###################################################################### @@ -135,6 +138,10 @@ @echo and $(INIT_MANDRAKE) manually for specially marked @echo netcount-specific content and remove it. +####### Gentoo +else + ifeq ($(DIST), GENTOO) + ######## No valid distribution given else $(error Illegal or no value for DIST. \ @@ -142,6 +151,7 @@ according to the instructions found there) endif endif + endif endif endif