source: Makefile@ 911fe33

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

The LICENSE need to be installed also.

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