X-Git-Url: https://scm.fusionforge.org/anonscm/gitweb?p=fusionforge%2Ffusionforge.git;a=blobdiff_plain;f=Makefile;h=4f2ce922d9eaeb8fa9bad07c2f9280072621b1e9;hp=2c9213f2d56dfc9fa4be23134e3c9f3cf521662f;hb=ff835b10da1b76988288d2e0a330c965bf335355;hpb=2105214eddf8a13acd249d6308d91ae8f99b9416 diff --git a/Makefile b/Makefile index 2c9213f2d5..4f2ce922d9 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -DISTDEBIAN=$(shell grep -qi Debian /etc/issue && echo deb) -DISTREDHAT=$(shell grep -qi 'Red Hat' /etc/issue && echo rpm) -DISTSUSE=$(shell grep -qi 'SuSE' /etc/issue && echo rpm) +DISTDEBIAN=$(shell grep -qi Debian /etc/issue && echo debian) +DISTREDHAT=$(shell grep -qi 'Red Hat' /etc/issue && echo rh) +DISTSUSE=$(shell grep -qi 'SuSE' /etc/issue && echo rh) DIST=$(DISTDEBIAN)$(DISTREDHAT)$(DISTSUSE) switch: @@ -10,15 +10,5 @@ switch: @echo "==========================================================================" @make -f Makefile.$(DIST) -all: - @make -f Makefile.$(DIST) all -clean: - @make -f Makefile.$(DIST) clean -cleanor: - @make -f Makefile.$(DIST) cleanor -chris: - @make -f Makefile.$(DIST) chris -chriss: - @make -f Makefile.$(DIST) chriss -chrisc: - @make -f Makefile.$(DIST) chrisc +%: + @make -f Makefile.$(DIST) $@