Makefile.am 858 Bytes
Newer Older
Nikos Skalkotos's avatar
Nikos Skalkotos committed
1
tasksdir=$(libdir)/$(PACKAGE)/tasks
2

Nikos Skalkotos's avatar
Nikos Skalkotos committed
3
dist_tasks_SCRIPTS = \
4
5
		10FixPartitionTable \
		20FilesystemResizeUnmounted \
Nikos Skalkotos's avatar
Nikos Skalkotos committed
6
		30MountImage \
Nikos Skalkotos's avatar
Nikos Skalkotos committed
7
		40AddSwap \
Nikos Skalkotos's avatar
Nikos Skalkotos committed
8
9
10
		40DeleteSSHKeys \
		40InstallUnattend \
		40SELinuxAutorelabel \
11
		41DisableRemoteDesktopConnections \
Nikos Skalkotos's avatar
Nikos Skalkotos committed
12
13
		50AssignHostname \
		50ChangePassword \
14
		50ConfigureNetwork \
15
16
		50FilesystemResizeMounted \
		60EnforcePersonality \
17
		80UmountImage
Nikos Skalkotos's avatar
Nikos Skalkotos committed
18
19
20
21
22

edit = sed \
	   -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
	   -e 's|@localstatedir[@]|$(localstatedir)|g' \
	   -e 's|@datarootdir[@]|$(datarootdir)|g' \
23
	   -e 's|@commondir[@]|$(commondir)|g' \
24
	   -e 's|@networkingdir[@]|$(networkingdir)|g' \
25
26
	   -e 's|@scriptsdir[@]|$(scriptsdir)|g'

Nikos Skalkotos's avatar
Nikos Skalkotos committed
27
28
29
30
31
32
33
34

%:%.in Makefile
	rm -f $@ $@.tmp
	srcdir=''; \
		   test -f ./$@.in || srcdir=$(srcdir)/; \
		   $(edit) $${srcdir}$@.in >$@.tmp
	mv $@.tmp $@

35
CLEANFILES = $(dist_tasks_SCRIPTS)
36