Revision bf7c33b2 helper/Makefile.am
b/helper/Makefile.am | ||
---|---|---|
1 |
SUBDIRS = tasks |
|
2 |
|
|
3 |
base_name=$(subst -helper,,$(PACKAGE)) |
|
4 |
initdir=$(sysconfdir) |
|
5 |
commondir=$(datarootdir)/$(base_name) |
|
6 |
export base_name |
|
1 |
commondir=$(datarootdir)/$(PACKAGE) |
|
2 |
scriptsdir=$(libdir)/$(PACKAGE) |
|
3 |
tasksdir=$(scriptsdir)/tasks |
|
7 | 4 |
export commondir |
5 |
export scriptsdir |
|
6 |
export tasksdir |
|
7 |
|
|
8 |
SUBDIRS = tasks |
|
8 | 9 |
|
9 | 10 |
dist_doc_DATA = COPYING AUTHORS ChangeLog |
10 |
dist_init_SCRIPTS = rc.local
|
|
11 |
dist_common_SCRIPTS= snf-passtohash.py
|
|
11 |
dist_bin_SCRIPTS = snf-image-helper
|
|
12 |
dist_scripts_SCRIPTS= snf-passtohash.py
|
|
12 | 13 |
dist_common_DATA = common.sh |
13 | 14 |
|
14 | 15 |
edit = sed \ |
15 | 16 |
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \ |
16 | 17 |
-e 's|@localstatedir[@]|$(localstatedir)|g' \ |
17 | 18 |
-e 's|@datarootdir[@]|$(datarootdir)|g' \ |
18 |
-e 's|@base_name[@]|$(base_name)|g'\
|
|
19 |
-e 's|@commondir[@]|$(commondir)|g' \
|
|
19 | 20 |
-e 's|@RESIZE2FS[@]|$(RESIZE2FS)|g' \ |
20 | 21 |
-e 's|@XMLSTARLET[@]|$(XMLSTARLET)|g' |
21 | 22 |
|
22 | 23 |
%:%.in Makefile |
23 |
@echo "Real Path is: $(rootdir)" |
|
24 | 24 |
rm -f $@ $@.tmp |
25 | 25 |
srcdir=''; \ |
26 | 26 |
test -f ./$@.in || srcdir=$(srcdir)/; \ |
27 | 27 |
$(edit) $${srcdir}$@.in >$@.tmp |
28 | 28 |
mv $@.tmp $@ |
29 | 29 |
|
30 |
CLEANFILES = rc.local |
|
30 |
CLEANFILES = snf-image-helper |
Also available in: Unified diff