0.2
1.0
2.3
2.3.x
2.4
ablfs
ablfs-more
legacy
new_features
trunk
Last change
on this file since 9383fd6 was 569fdb6, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago |
Added installation Makefile.
|
-
Property mode
set to
100644
|
File size:
550 bytes
|
Rev | Line | |
---|
[569fdb6] | 1 | # Makefile to install jhalfs system-wide
|
---|
| 2 |
|
---|
| 3 | # Where the files will be installed
|
---|
| 4 | BIN=/usr/bin
|
---|
| 5 | CONFIG=/etc/jhalfs
|
---|
| 6 | DATA=/usr/share/jhalfs
|
---|
| 7 |
|
---|
| 8 | # List of additional files
|
---|
| 9 | DATAFILES=functions dump-lfs-scripts.xsl
|
---|
| 10 |
|
---|
| 11 | install:
|
---|
| 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.