Changeset 220 for trunk/Makefile
- Timestamp:
- 01/16/12 16:45:53 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r219 r220 19 19 mandir = ${prefix}/man 20 20 21 INSTALL = /usr/bin/install -c21 INSTALL = /usr/bin/install 22 22 INSTALL_PROGRAM = ${INSTALL} 23 23 INSTALL_SCRIPT = ${INSTALL} … … 34 34 35 35 # also set the leaf directories we'll be putting things in 36 PKG_LEAF = "dnsdb"37 CFG_LEAF = "dnsdb"36 PKG_LEAF = dnsdb 37 CFG_LEAF = dnsdb 38 38 39 39 # tweak the final leaf directories we install to if PARA_VERSIONS is set 40 40 ifeq "$(PARA_VERSIONS)" "1" 41 PKG_LEAF = "dnsdb-$(VERSION)"42 CFG_LEAF = "dnsdb/$(VERSION)"41 PKG_LEAF = dnsdb-$(VERSION) 42 CFG_LEAF = dnsdb/$(VERSION) 43 43 endif 44 44 … … 98 98 99 99 install: 100 @for i in $(IMAGES) $(TEMPLATES); do \ 101 $(INSTALL_DATA) -D $$i $(DESTDIR)${datadir}/$(PKG_LEAF)/$$i ; \ 102 done 100 @mkdir -p $(DESTDIR)${datadir}/$(PKG_LEAF)/images 101 @$(INSTALL_DATA) $(IMAGES) $(DESTDIR)${datadir}/$(PKG_LEAF)/images 102 @mkdir -p $(DESTDIR)${datadir}/$(PKG_LEAF)/templates 103 @$(INSTALL_DATA) $(TEMPLATES) $(DESTDIR)${datadir}/$(PKG_LEAF)/templates 103 104 @# munge in necessary 'use lib ...' bits so scripts can find libs and config... 104 105 @# datadir is correct; no arch-specific files
Note:
See TracChangeset
for help on using the changeset viewer.