Legend:
- Unmodified
- Added
- Removed
-
Makefile
r9 r11 2 2 3 3 # Installation prefix. Change to install elsewhere 4 # XXX: installation not yet implemented5 4 6 5 PREFIX=/usr/local … … 14 13 BUILD=$(CURDIR)/build 15 14 BUILD_BIN=$(BUILD)/bin 16 BUILD_ETC=$(BUILD)/etc17 15 BUILD_DOC=$(BUILD)/doc 18 16 … … 27 25 all: $(BUILD_TREE) $(SUB_DIRS) 28 26 27 install: all 28 mkdir -p $(PREFIX)/bin 29 mkdir -p $(PREFIX)/share/doc/reglookup 30 cp -r build/bin/* $(PREFIX)/bin/ 31 cp -r build/doc/* $(PREFIX)/share/doc/reglookup/ 32 29 33 $(SUB_DIRS): 30 34 $(MAKE) -C $@ … … 35 39 clean: 36 40 rm -rf $(BUILD)/* 41 42 43 # For developer use only 44 RELEASE_VER=0.1 45 RELEASE_DEST=. 46 .release: 47 rm -rf .release 48 mkdir .release 49 # XXX: checkout version should be based on RELEASE_VER 50 svn export svn+ssh://pascal/home/projects/subversion/reglookup/\ 51 .release/reglookup-$(RELEASE_VER) 52 cd .release/reglookup-$(RELEASE_VER)/doc && make generate 53 cd .release\ 54 && tar cf reglookup-$(RELEASE_VER).tar reglookup-$(RELEASE_VER)\ 55 && gzip -9 reglookup-$(RELEASE_VER).tar 56 mv .release/reglookup-$(RELEASE_VER).tar.gz $(RELEASE_DEST) 57 rm -rf .release
Note: See TracChangeset
for help on using the changeset viewer.