From bd9a502a750648755da848e1063ca92bb7e27cb2 Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 15 Apr 2021 17:06:53 +0200 Subject: Publish a script to tell the catalog file name --- Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile.am b/Makefile.am index 4876484..b804e1f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,6 +9,8 @@ include %reldir%/latex/Makefile.am pkgdata_DATA = catalog +bin_SCRIPTS = h4sp-catalog-file + catalog: Makefile $(AM_V_GEN) (echo '' ; \ echo '' ; \ @@ -16,3 +18,8 @@ catalog: Makefile echo '' \ ) > $@-t mv $@-t $@ + +h4sp-catalog-file: Makefile + $(AM_V_GEN) (echo "#!/bin/sh" ; echo "echo '$(pkgdatadir)/catalog'") > $@-t + chmod ugo+x $@-t + mv $@-t $@ -- cgit v1.2.3