From 0c6ad643c8cf6dcecac1f33b55fe3ff8abd0bb4e Mon Sep 17 00:00:00 2001 From: John D Pell Date: Sun, 8 Aug 2021 09:36:26 +0200 Subject: [PATCH] Change generation of Data Dir in the global header It has become common practice in previous patches to use PACKAGE_TARNAME instead of hard-coding "WindowMaker" when working with paths, so let's be as consistent in the generated header. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index f314eadf..3fc0adda 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,7 +19,7 @@ config-paths.h: Makefile @echo '#define PIXMAPDIR "$(pixmapdir)"' >> $@ @echo '' >> $@ @echo '/* where shared data is stored */' >> $@ - @echo '#define PKGDATADIR "$(datadir)/WindowMaker"' >> $@ + @echo '#define PKGDATADIR "$(datadir)/$(PACKAGE_TARNAME)"' >> $@ @echo '' >> $@ @echo '/* where the global defaults are stored */' >> $@ @echo '#define PKGCONFDIR "$(pkgconfdir)"' >> $@