Tweaked Makefile to prevent configure from being run during make test
This commit is contained in:
6
Makefile
6
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) \
|
||||
|
||||
Reference in New Issue
Block a user