Changeset 797 for trunk/Makefile
- Timestamp:
- 11/03/20 15:38:37 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r771 r797 100 100 @mkdir -p $(DESTDIR)${datadir}/$(PKG_LEAF)/templates 101 101 @$(INSTALL_DATA) $(TEMPLATES) $(DESTDIR)${datadir}/$(PKG_LEAF)/templates 102 @# munge in necessary 'use lib ...' bits so scripts can find libs and config...103 @# datadir is correct; no arch-specific files104 102 @for i in $(SCRIPTS) $(MODULES); do \ 105 103 $(INSTALL_SCRIPT) -D $$i $(DESTDIR)${datadir}/$(PKG_LEAF)/$$i ; \ 106 perl -pi -e "s|use lib '.';\s+##uselib##|use lib '${datadir}/$(PKG_LEAF)/';|;" $(DESTDIR)${datadir}/$(PKG_LEAF)/$$i ; \107 104 done 108 105 @$(INSTALL) -d $(DESTDIR)${sysconfdir}/$(CFG_LEAF)/
Note:
See TracChangeset
for help on using the changeset viewer.