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
|
include /usr/share/snap/Makefile.snaplinux
|
||||||
|
|
||||||
$(SRCDIR): $(ARCHIVE)
|
$(SRCDIR)/configure: $(ARCHIVE)
|
||||||
@if [ '$(TYPE)' == 'application/x-bzip2' ]; then \
|
@if [ '$(TYPE)' == 'application/x-bzip2' ]; then \
|
||||||
tar -jxf $(ARCHIVE); \
|
tar -jxf $(ARCHIVE); \
|
||||||
elif [ '$(TYPE)' == 'application/x-gzip' ]; then \
|
elif [ '$(TYPE)' == 'application/x-gzip' ]; then \
|
||||||
@@ -43,7 +43,7 @@ $(SRCDIR): $(ARCHIVE)
|
|||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$(SRCDIR)/config.log: $(SRCDIR)
|
$(SRCDIR)/config.log: $(SRCDIR)/configure
|
||||||
@if [ -f $(PATCHDIR)/*.patch ]; then \
|
@if [ -f $(PATCHDIR)/*.patch ]; then \
|
||||||
cd $(SRCDIR) && cat $(PATCHDIR)/*.patch|patch --verbose -Np1; \
|
cd $(SRCDIR) && cat $(PATCHDIR)/*.patch|patch --verbose -Np1; \
|
||||||
fi
|
fi
|
||||||
@@ -74,7 +74,7 @@ $(ROOT): $(SRCDIR)/src/cpio
|
|||||||
|
|
||||||
test: $(ROOT)
|
test: $(ROOT)
|
||||||
@cd $(SRCDIR); \
|
@cd $(SRCDIR); \
|
||||||
make test
|
make check
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rvf $(ROOT) \
|
@rm -rvf $(ROOT) \
|
||||||
|
|||||||
Reference in New Issue
Block a user