diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2021-04-15 17:06:53 +0200 |
---|---|---|
committer | Vivien Kraus <vivien@planete-kraus.eu> | 2021-04-15 17:09:27 +0200 |
commit | bd9a502a750648755da848e1063ca92bb7e27cb2 (patch) | |
tree | e2461e56ef449650daad43846b8a580ba1af11b7 | |
parent | 876c6d955c85c5ac64b1f42d85f4bd361b7de724 (diff) |
Publish a script to tell the catalog file name1.2.1
-rw-r--r-- | Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
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 '<?xml version="1.0" encoding="UTF-8"?>' ; \ echo '<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">' ; \ @@ -16,3 +18,8 @@ catalog: Makefile echo '</catalog>' \ ) > $@-t mv $@-t $@ + +h4sp-catalog-file: Makefile + $(AM_V_GEN) (echo "#!/bin/sh" ; echo "echo '$(pkgdatadir)/catalog'") > $@-t + chmod ugo+x $@-t + mv $@-t $@ |