diff --git a/Makefile b/Makefile index 2000990..ed9bd0d 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ SNAPHACKS = rm -fv $(ROOT)/usr/share/info/dir && \ include /usr/share/snap/Makefile.snaplinux -$(SRCDIR): $(ARCHIVE) +$(SRCDIR)/configure: $(ARCHIVE) @if [ '$(TYPE)' == 'application/x-bzip2' ]; then \ tar -jxf $(ARCHIVE); \ elif [ '$(TYPE)' == 'application/x-gzip' ]; then \ @@ -43,7 +43,7 @@ $(SRCDIR): $(ARCHIVE) exit 1; \ fi -$(SRCDIR)/config.log: $(SRCDIR) +$(SRCDIR)/config.log: $(SRCDIR)/configure @if [ -f $(PATCHDIR)/*.patch ]; then \ cd $(SRCDIR) && cat $(PATCHDIR)/*.patch|patch --verbose -Np1; \ fi @@ -74,7 +74,7 @@ $(ROOT): $(SRCDIR)/src/cpio test: $(ROOT) @cd $(SRCDIR); \ - make test + make check clean: @rm -rvf $(ROOT) \