Add unattend.xml file in snf-image-helper
[snf-image] / snf-image-helper / tasks / Makefile.am
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            -e 's|@scriptsdir[@]|$(scriptsdir)|g'
21
22
23 %:%.in Makefile
24         rm -f $@ $@.tmp
25         srcdir=''; \
26                    test -f ./$@.in || srcdir=$(srcdir)/; \
27                    $(edit) $${srcdir}$@.in >$@.tmp
28         mv $@.tmp $@
29
30 CLEANFILES = $(dist_tasks_SCRIPTS)