0.2
Last change
on this file since 42ddaf8 was 01d3d40, checked in by Jeremy Huntwork <jhuntwork@…>, 19 years ago |
Created a 0.2 branch in preparation for release - will tag and release when LFS 6.1.1 is released
|
-
Property mode
set to
100644
|
File size:
601 bytes
|
Rev | Line | |
---|
[569fdb6] | 1 | # Makefile to install jhalfs system-wide
|
---|
| 2 |
|
---|
| 3 | # Where the files will be installed
|
---|
[01d3d40] | 4 | PREFIX=/usr
|
---|
| 5 | BIN=$(PREFIX)/bin
|
---|
[569fdb6] | 6 | CONFIG=/etc/jhalfs
|
---|
[01d3d40] | 7 | DATA=$(PREFIX)/share/jhalfs
|
---|
[569fdb6] | 8 |
|
---|
| 9 | # List of additional files
|
---|
[78e4270] | 10 | DATAFILES=functions dump-lfs-scripts.xsl README
|
---|
[569fdb6] | 11 |
|
---|
| 12 | install:
|
---|
[825d1ef] | 13 | install -v -d $(BIN)
|
---|
[569fdb6] | 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.