diff options
Diffstat (limited to 'data/Makefile.am')
-rw-r--r-- | data/Makefile.am | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 9c8f0ab..f9216c4 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -9,10 +9,23 @@ initd_SCRIPTS= \ ConsoleKit \ $(NULL) + +ConsoleKit: ConsoleKit.in Makefile + $(edit) $< >$@ + +edit = sed \ + -e 's|@sbindir[@]|$(sbindir)|g' \ + -e 's|@sysconfdir[@]|$(sysconfdir)|g' \ + -e 's|@localstatedir[@]|$(localstatedir)|g' \ + -e 's|@CONSOLE_KIT_PID_FILE[@]|$(CONSOLE_KIT_PID_FILE)|g' + EXTRA_DIST = \ $(dbusconf_DATA) \ + $(SCRIPT_IN_FILES) \ $(NULL) MAINTAINERCLEANFILES = \ *~ \ Makefile.in + +CLEANFILES = ConsoleKit |