source: Makefile@ bf3ad3a

0.2 1.0 2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since bf3ad3a was 825d1ef, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Install also the BIN directory.

  • Property mode set to 100644
File size: 579 bytes
RevLine 
[569fdb6]1# Makefile to install jhalfs system-wide
2
3# Where the files will be installed
4BIN=/usr/bin
5CONFIG=/etc/jhalfs
6DATA=/usr/share/jhalfs
7
8# List of additional files
[78e4270]9DATAFILES=functions dump-lfs-scripts.xsl README
[569fdb6]10
11install:
[825d1ef]12 install -v -d $(BIN)
[569fdb6]13 install -v -d $(CONFIG)
14 install -v -d $(DATA)
15 sed 's|source jhalfs.conf|source $(CONFIG)/jhalfs.conf|' jhalfs > $(BIN)/jhalfs
16 chmod -v 744 $(BIN)/jhalfs
17 sed 's|XSL.|&$(DATA)/|;s|FILES..|&$(DATA)/|;/FILES/s| | $(DATA)/|g' jhalfs.conf > $(CONFIG)/jhalfs.conf
18 chmod -v 644 $(CONFIG)/jhalfs.conf
19 install -v -m 644 $(DATAFILES) $(DATA)
Note: See TracBrowser for help on using the repository browser.