From 1e02ca70a08fb20ecf2df1cee4f6d12d0341febd Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 23 Dec 2018 00:10:34 -0500 Subject: Makefile.am: Move do_subst --- diff --git a/Makefile.am b/Makefile.am index 340422d..c507fab 100644 --- a/Makefile.am +++ b/Makefile.am @@ -52,7 +52,13 @@ libopkbuild_shsoversion = .1 man1_MANS = $(man1_sources:.1in=.1) man3_MANS = $(man3_sources:.3in=.3) +do_subst = sed \ + -e 's|@[@]PACKAGE_NAME[@]@|$(PACKAGE_NAME)|g' \ + -e 's|@[@]PACKAGE_VERSION[@]@|$(PACKAGE_VERSION)|g' \ + -e 's|@[@]PACKAGE_DESCRIPTION[@]@|$(MANUAL)|g' + locale_MESSAGES = $(locale_sources:.sh=.ms) + dist_pkgdata_DATA = optstring CLEANFILES = \ @@ -80,11 +86,6 @@ EXTRA_DIST = \ $(tests_data) \ tests/common.sh -do_subst = sed \ - -e 's|@[@]PACKAGE_NAME[@]@|$(PACKAGE_NAME)|g' \ - -e 's|@[@]PACKAGE_VERSION[@]@|$(PACKAGE_VERSION)|g' \ - -e 's|@[@]PACKAGE_DESCRIPTION[@]@|$(MANUAL)|g' - all-local: $(locale_MESSAGES) install-data-local: $(locale_MESSAGES) -- cgit v0.9.1