Revision c4447efb helper/Makefile.am

b/helper/Makefile.am
1
base_name=$(subst -helper,,$(PACKAGE))
2

  
3 1
SUBDIRS = tasks
4 2

  
3
base_name=$(subst -helper,,$(PACKAGE))
5 4
initdir=$(sysconfdir)
6 5
commondir=$(datarootdir)/$(base_name)
6
export base_name
7
export commondir
7 8

  
8 9
dist_doc_DATA = COPYING AUTHORS ChangeLog
9 10
dist_init_SCRIPTS = rc.local snf-passtohash.py
10
dist_init_DATA = common.sh
11
dist_common_SCRIPTS= snf-passtohash.py
12
dist_common_DATA = common.sh
11 13

  
12 14
edit = sed \
13 15
	-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
14 16
	-e 's|@localstatedir[@]|$(localstatedir)|g' \
15 17
	-e 's|@datarootdir[@]|$(datarootdir)|g' \
16
	-e 's|@base_name[@]|$(base_name)|g'
18
	-e 's|@base_name[@]|$(base_name)|g'\
17 19
	-e 's|@RESIZE2FS[@]|$(RESIZE2FS)|g' \
18 20
	-e 's|@XMLSTARLET[@]|$(XMLSTARLET)|g'
19 21

  
20 22
%:%.in Makefile
23
	@echo "Real Path is: $(rootdir)"
21 24
	rm -f $@ $@.tmp
22 25
	srcdir=''; \
23 26
		   test -f ./$@.in || srcdir=$(srcdir)/; \

Also available in: Unified diff