source: Makefile@ a0e25ce

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

Added installation Makefile.

  • Property mode set to 100644
File size: 550 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
9DATAFILES=functions dump-lfs-scripts.xsl
10
11install:
12 install -v -d $(CONFIG)
13 install -v -d $(DATA)
14 sed 's|source jhalfs.conf|source $(CONFIG)/jhalfs.conf|' jhalfs > $(BIN)/jhalfs
15 chmod -v 744 $(BIN)/jhalfs
16 sed 's|XSL.|&$(DATA)/|;s|FILES..|&$(DATA)/|;/FILES/s| | $(DATA)/|g' jhalfs.conf > $(CONFIG)/jhalfs.conf
17 chmod -v 644 $(CONFIG)/jhalfs.conf
18 install -v -m 644 $(DATAFILES) $(DATA)
Note: See TracBrowser for help on using the repository browser.