diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-07-01 15:44:44 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-07-10 16:00:54 +0400 |
commit | eedd343eccc55a680e82ff01fa2b236bc665ec6a (patch) | |
tree | 72b5eb7dd01e33fabe7ce9f3b37a2f58ca26295f | |
parent | 61ce7929bc63be2f432f50783a5cdb33e9053663 (diff) | |
download | dctrl-tools-eedd343eccc55a680e82ff01fa2b236bc665ec6a.tar.gz |
Configure sync-available
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | sync-available/sync-available.in (renamed from sync-available/sync-available.cp) | 2 |
3 files changed, 2 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am index 3ffaeb5..fd37c35 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,12 +11,6 @@ bin_PROGRAMS = \ join-dctrl/join-dctrl sbin_SCRIPTS = sync-available/sync-available -EXTRA_DIST = sync-available/sync-available.cp -CLEANFILES = $(sbin_SCRIPTS) - -%: %.cp - sed 's,VERSION,$(VERSION),' $< > $@ - AM_CPPFLAGS = -I$(top_srcdir)/lib \ -DSYSCONF=\"$(sysconfdir)\" \ diff --git a/configure.ac b/configure.ac index 38ef67c..9715107 100644 --- a/configure.ac +++ b/configure.ac @@ -30,6 +30,7 @@ AC_SUBST([GREP_ALIASES], ["grep-status grep-available grep-aptavail grep-debtags AC_CONFIG_FILES([ Makefile po/Makefile.in + sync-available/sync-available ]) AC_OUTPUT diff --git a/sync-available/sync-available.cp b/sync-available/sync-available.in index aa5de34..3068f43 100644 --- a/sync-available/sync-available.cp +++ b/sync-available/sync-available.in @@ -24,7 +24,7 @@ if [ $# -ge 1 ] then if [ "x$@" = "x--version" ] then - echo "update-avail (dctrl-tools) VERSION" + echo "update-avail (dctrl-tools) @VERSION@" else echo "Usage:" echo " $0" |