summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-30 14:46:36 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-30 18:54:01 -0500
commitdc9339b5699ee3b0d48145a1389f93e9e09d02a6 (patch)
treeed71bd691ea6e0d05d47e2bfd891c333bf5709ab /src/lib
parent4f9203808ef9607ae27eba3cf77079bbe661fd95 (diff)
Update and tidy the build system for autothing v3.
Diffstat (limited to 'src/lib')
l---------src/lib/GNUmakefile1
-rw-r--r--src/lib/Makefile8
2 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/GNUmakefile b/src/lib/GNUmakefile
new file mode 120000
index 0000000..54fdd42
--- /dev/null
+++ b/src/lib/GNUmakefile
@@ -0,0 +1 @@
+../../GNUmakefile \ No newline at end of file
diff --git a/src/lib/Makefile b/src/lib/Makefile
index 9d52440..eb2ffde 100644
--- a/src/lib/Makefile
+++ b/src/lib/Makefile
@@ -1,12 +1,12 @@
include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
-libretools-libs += common.sh conf.sh
-devtools-files = common.sh.in
+libretools.src.devtools = common.sh.in
+libretools.out.libs += common.sh conf.sh
# Build ##############################################################
-$(outdir)/conf.sh: $(var)sysconfdir $(var)pkgconfdir
+$(outdir)/conf.sh: $(var.)sysconfdir $(var.)pkgconfdir
$(outdir)/common.sh: $(outdir)/%: $(srcdir)/%.in $(srcdir)/%.head $(srcdir)/%.tail $(outdir)/Makefile
@echo "OUT $@"
@@ -33,7 +33,7 @@ $(outdir)/blacklist.sh.pot: $(srcdir)/blacklist.sh $(srcdir)/librexgettext
sed -r -e 's/^# (.*)/msgid "\1"\nmsgstr ""\n/' \
-e 's|^[0-9]*$$|#. embedded usage text\n#: $<:&|' && \
$(<D)/librexgettext --simple=_l:2 $< && \
- :; } | $(pofmt) > $@
+ :; } | $(libretools.pofmt) > $@
$(outdir)/common.sh.pot : LIBREXGETTEXT_FLAGS += --simple=_l:2
$(outdir)/conf.sh.pot : LIBREXGETTEXT_FLAGS += --simple=_l:2
$(outdir)/librelib.pot : LIBREXGETTEXT_FLAGS += --simple=_l:2