|
|
@ -1,4 +1,6 @@
|
|
|
|
BASENAME = @PACKAGE_TARNAME@-@PACKAGE_VERSION@
|
|
|
|
ifndef VERSION
|
|
|
|
|
|
|
|
VERSION = @PACKAGE_VERSION@
|
|
|
|
|
|
|
|
endif
|
|
|
|
EXE = @PACKAGE_TARNAME@.exe
|
|
|
|
EXE = @PACKAGE_TARNAME@.exe
|
|
|
|
|
|
|
|
|
|
|
|
CC = @CC@
|
|
|
|
CC = @CC@
|
|
|
@ -41,11 +43,14 @@ dist:
|
|
|
|
echo "please install and run configure again"; \
|
|
|
|
echo "please install and run configure again"; \
|
|
|
|
exit 1; \
|
|
|
|
exit 1; \
|
|
|
|
}
|
|
|
|
}
|
|
|
|
rm -rf $(BASENAME)
|
|
|
|
rm -rf @PACKAGE_TARNAME@-*/
|
|
|
|
mkdir $(BASENAME)
|
|
|
|
mkdir @PACKAGE_TARNAME@-$(VERSION)
|
|
|
|
cp $(SOURCES) $(EXTRA) $(BASENAME)
|
|
|
|
cp $(SOURCES) $(EXTRA) @PACKAGE_TARNAME@-$(VERSION)
|
|
|
|
$(ZIP) -qr $(BASENAME).zip $(BASENAME)
|
|
|
|
$(ZIP) -qr @PACKAGE_TARNAME@-$(VERSION).zip @PACKAGE_TARNAME@-$(VERSION)
|
|
|
|
rm -rf $(BASENAME)
|
|
|
|
rm -rf @PACKAGE_TARNAME@-$(VERSION)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
snapshot:
|
|
|
|
|
|
|
|
$(MAKE) dist VERSION="$(VERSION).git`git log --format=format:"%h" HEAD -1`"
|
|
|
|
|
|
|
|
|
|
|
|
clean :
|
|
|
|
clean :
|
|
|
|
rm -f *.o *.exe
|
|
|
|
rm -f *.o *.exe
|
|
|
|