core: add support for the autoverbose feature
[fbsplash.git] / core / scripts / Makefile.am
blob551a14e3f2b544e0d0d6a64de6f6b625978d8106
1 bin_SCRIPTS   = bootsplash2fbsplash splash_manager splash_resize splashy2fbsplash.py
2 eexecsbin_SCRIPTS = splash-functions.sh
3 if CONFIG_HELPER
4 sbin_SCRIPTS   = splash_geninitramfs
5 endif
7 EXTRA_DIST  = bootsplash2fbsplash.in splash-functions.sh.in splash_geninitramfs.in splash_manager.in splash_resize.in splashy2fbsplash.py.in
8 MOSTLYCLEANFILES = bootsplash2fbsplash splash-functions.sh splash_geninitramfs splash_manager splash_resize splashy2fbsplash
10 %: %.in
11         @$(call infmsg,CREATE,$@)
12         $(Q)$(MKDIR_P) $(@D)
13         $(Q)rm -f $@
14         $(Q)cat $< | $(SED) \
15                 -e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
16                 -e 's|@bindir[@]|$(eexecbindir)|g' \
17                 -e 's|@sbindir[@]|$(eexecsbindir)|g' \
18                 -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
19                 -e 's|@themedir[@]|$(themedir)|g' \
20                 -e 's|@libdir[@]|$(eexeclibdir)|g' \
21                 > $@