]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
fix archive dependencies in Makefile
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 21 Mar 2008 09:56:43 +0000 (10:56 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 21 Mar 2008 12:00:44 +0000 (13:00 +0100)
Makefile.in

index 892f4d13075fa6ec4629ed1dc12974f0cdd968ba..2d238f9aa192b8de759f35b57e5b5dbbc1a1b0f9 100644 (file)
@@ -131,12 +131,11 @@ install-sh: sharedlib $(WHIPTCLSO) _snackmodule.so
           install -m 644 snack.py $(instroot)/$(libdir)/$$ver/site-packages ;\
        done
 
-configure:  configure.ac newt.spec
-       autoconf
+Makefile: newt.spec
        echo "You need to rerun ./configure before continuing"
-       exit 1
+       @exit 1
 
-create-archive:    configure
+create-archive: Makefile
        @rm -rf /tmp/newt-$(VERSION)
        @git archive --prefix=newt-$(VERSION)/ $(TAG) | tar x -C /tmp
        @cd /tmp/newt-$(VERSION) && ./autogen.sh && rm -rf autom4te.cache
@@ -147,7 +146,7 @@ create-archive:    configure
        @echo " "
        @echo "The final archive is ./newt-$(VERSION).tar.gz."
 
-tag-archive:
+tag-archive: Makefile
        @git tag $(TAG)
 
 archive: tag-archive create-archive