Statistics
| Branch: | Tag: | Revision:

root / snf-image-helper / tasks / Makefile.am @ 3179b447

History | View | Annotate | Download (648 Bytes)

1
tasksdir=$(libdir)/$(PACKAGE)/tasks
2

    
3
dist_tasks_SCRIPTS = \
4
		10ResizeUnmounted \
5
		30MountImage \
6
		40AddDeleteUnattendScript \
7
		40DeleteSSHKeys \
8
		40InstallUnattend \
9
		40ResizeMounted \
10
		40SELinuxAutorelabel \
11
		50AssignHostname \
12
		50ChangePassword \
13
		80UmountImage
14

    
15
edit = sed \
16
	   -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
17
	   -e 's|@localstatedir[@]|$(localstatedir)|g' \
18
	   -e 's|@datarootdir[@]|$(datarootdir)|g' \
19
	   -e 's|@commondir[@]|$(commondir)|g'
20

    
21
%:%.in Makefile
22
	rm -f $@ $@.tmp
23
	srcdir=''; \
24
		   test -f ./$@.in || srcdir=$(srcdir)/; \
25
		   $(edit) $${srcdir}$@.in >$@.tmp
26
	mv $@.tmp $@
27

    
28
CLEANFILES = $(dist_tasks_SCRIPTS)