add all-emacs target
[binutils-gdb.git] / build-all.mk
index beec320fbe04211d8f7bc20d02b5d00e03bf7075..d9bde4badbc4af406e2edb3c33a89c45cff723bf 100644 (file)
@@ -110,6 +110,15 @@ FLAGS_TO_PASS := \
        "host=$(canonhost)" \
        "RELEASE_TAG=$(TAG)"
 
+all-emacs:
+       @echo build started at `date`
+       [ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
+       rm -f /usr/cygnus/$(TAG)
+       ln -s $(INSTALLDIR) /usr/cygnus/$(TAG) 
+       $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) do1 > $(canonhost)-native-log 2>&1 
+       $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) do-latest > $(canonhost)-latest-log 2>&1 
+       @echo done at `date`
+
 all-cygnus:
        @echo build started at `date`
        [ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)