Revision d51a95a8 snf-image-host/Makefile.am

b/snf-image-host/Makefile.am
15 15
dist_os_DATA = ${srcdir}/ganeti_api_version ${srcdir}/parameters.list \
16 16
               ${srcdir}/variants.list
17 17

  
18
dist_bin_SCRIPTS = snf-image-update-helper
19

  
18 20
os_DATA = common.sh
19 21

  
20 22
edit = sed \
......
23 25
	   -e 's|@osdir[@]|$(osdir)|g' \
24 26
	   -e 's|@osname[@]|$(osname)|g' \
25 27
	   -e 's|@defaultdir[@]|$(defaultdir)|g' \
26
	   -e 's|@HELPER[@]|$(HELPER)|g' \
28
	   -e 's|@HELPER_DIR[@]|$(HELPER_DIR)|g' \
29
	   -e 's|@HELPER_IMG[@]|$(HELPER_IMG)|g' \
27 30
	   -e 's|@HELPER_KERNEL[@]|$(HELPER_KERNEL)|g' \
28 31
	   -e 's|@HELPER_INITRD[@]|$(HELPER_INITRD)|g' \
32
	   -e 's|@HELPER_PKG[@]|$(HELPER_PKG)|g' \
29 33
	   -e 's|@AWK[@]|$(AWK)|g' \
30 34
	   -e 's|@MKDIR_P[@]|$(MKDIR_P)|g' \
31 35
	   -e 's|@LOSETUP[@]|$(LOSETUP)|g' \
......
35 39
	   -e 's|@progress_monitor_support[@]|$(progress_monitor_support)|g' \
36 40
	   -e 's|@PROGRESS_MONITOR[@]|$(PROGRESS_MONITOR)|g'
37 41

  
38
common.sh: Makefile
42
%:%.in Makefile
39 43
	rm -f $@ $@.tmp
40 44
	srcdir=''; \
41 45
		   test -f ./$@.in || srcdir=$(srcdir)/; \
......
48 52
	touch "$(DESTDIR)$(variantsdir)/default.conf"
49 53
	
50 54

  
51
CLEANFILES = $(os_DATA)
55
CLEANFILES = $(os_DATA) $(dist_bin_SCRIPTS)

Also available in: Unified diff