Statistics
| Branch: | Tag: | Revision:

root / snf-image-helper / tasks / Makefile.am @ ec728294

History | View | Annotate | Download (801 Bytes)

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

    
3
dist_tasks_SCRIPTS = \
4
		10FixPartitionTable \
5
		20FilesystemResizeUnmounted \
6
		30MountImage \
7
		40AddDeleteUnattendScript \
8
		40DeleteSSHKeys \
9
		40DisableRemoteDesktopConnections \
10
		40InstallUnattend \
11
		40FilesystemResizeMounted \
12
		40SELinuxAutorelabel \
13
		50AssignHostname \
14
		50EnforcePersonality \
15
		50ChangePassword \
16
		80UmountImage
17

    
18
edit = sed \
19
	   -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
20
	   -e 's|@localstatedir[@]|$(localstatedir)|g' \
21
	   -e 's|@datarootdir[@]|$(datarootdir)|g' \
22
	   -e 's|@commondir[@]|$(commondir)|g' \
23
	   -e 's|@scriptsdir[@]|$(scriptsdir)|g'
24

    
25

    
26
%:%.in Makefile
27
	rm -f $@ $@.tmp
28
	srcdir=''; \
29
		   test -f ./$@.in || srcdir=$(srcdir)/; \
30
		   $(edit) $${srcdir}$@.in >$@.tmp
31
	mv $@.tmp $@
32

    
33
CLEANFILES = $(dist_tasks_SCRIPTS)
34