⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.release

📁 Password Safe Password Safe is a password database utility. Users can keep their passwords securely
💻 RELEASE
字号:
# $Id: Makefile.release,v 1.7 2004/09/10 06:22:52 ronys Exp $# This makefile automates the build of releases for sourceforge# The RELEASENAME should be changed per release# The RELEASEDIR should be set to whatever works for you.## 'make -f Makefile.release' or 'make -f Makefile.release release'# will build both binary and source zipfiles.# bin-release or src-release will build only what their names imply.## Oh, this works with GNU make under Cygwin. YMMV on other makes...RELEASENAME = 2.05RELEASEDIR = "/cygdrive/d/local/src/PasswordSafe/Releases"# Shouldn't need to change anything below this lineBINRELNAME = pwsafe-$(RELEASENAME)-binSRCRELNAME = pwsafe-$(RELEASENAME)-srcRM = /usr/bin/rmCP = /usr/bin/cpMV = /usr/bin/mvGPG = /usr/bin/gpgGPG_KEY = ronys@users.sourceforge.netGPG_SIGN = $(GPG) --detach-sign --armor --default-key $(GPG_KEY)MAKENSIS = /cygdrive/d/local/NSIS/makensis.exeBIN_MANIFEST = README.txt ReleaseNotes.txt LICENSE \	ChangeLog.txt Release/pwsafe.exe pwsafe.chm.PHONY: all release bin-release src-release installableall: release installableinstallable:	$(MAKENSIS) /DVERSION=$(RELEASENAME) pwsafe.nsi	$(MV) pwsafe-$(RELEASENAME).exe $(RELEASEDIR)	$(GPG_SIGN) $(RELEASEDIR)/pwsafe-$(RELEASENAME).exerelease: bin-release src-releasebin-release:	@-mkdir $(RELEASEDIR)/$(BINRELNAME)	$(CP) $(BIN_MANIFEST) $(RELEASEDIR)/$(BINRELNAME)	(cd $(RELEASEDIR); zip -9 -r  foo ./$(BINRELNAME); \	$(MV) foo.zip $(BINRELNAME).zip; \	$(GPG_SIGN) $(BINRELNAME).zip)	@$(RM) -rf $(RELEASEDIR)/$(BINRELNAME)src-release:	@-mkdir $(RELEASEDIR)/$(SRCRELNAME)	@$(CP) -R . $(RELEASEDIR)/$(SRCRELNAME)	(cd $(RELEASEDIR)/$(SRCRELNAME); \	 $(RM) -f Release/* Debug/*; \	 find . \( -name '*~' -o -name '*.bak' -o -name \*.aps -o \		   -name '*.plg' -o -name '*.ncb' -o -name '*.opt' -o \		   -name '*.clw' -o \                   -name '*.sav' -o -name '*.old' \) | xargs $(RM) -f; \	 $(RM) -f Release/* Debug/* *~ *.bak *.sav *.old .#*; \	 $(RM) -f corelib/Release/* corelib/Debug/* test/Debug/*; \	 find . -type d -name CVS | xargs $(RM) -rf)	(cd $(RELEASEDIR); zip -9 -r  bar ./$(SRCRELNAME); \	$(MV) bar.zip $(SRCRELNAME).zip; \	$(GPG_SIGN) $(SRCRELNAME).zip)	@$(RM) -rf $(RELEASEDIR)/$(SRCRELNAME)# $Log: Makefile.release,v $# Revision 1.7  2004/09/10 06:22:52  ronys# bump version to 2.05## Revision 1.6  2004/07/22 03:43:34  ronys# Update for 2.04## Revision 1.5  2004/06/11 03:57:30  ronys# Moved older changes from ReleaseNotes to ChangeLog.## Revision 1.4  2004/06/08 03:34:29  ronys# silly mistakes## Revision 1.3  2004/06/06 05:32:39  ronys# release 2.03## Revision 1.2  2004/06/03 20:29:09  ronys# Copied from 1.92 branch.## Revision 1.1.2.2  2003/08/29 06:17:25  ronys# Removed winXP manifest file from the deliverable. I'm told that it's part of the executable...## Revision 1.1.2.1  2003/08/09 11:05:41  ronys# Added makefile to automate the building of src and binary releases (about time!)#

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -