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:07:21 +0200 |
commit | 8403da5c94d00d065e50e502fb6bab37a783a33f (patch) | |
tree | 74e13926a2d0de7526039f10ed8035f339175170 | |
parent | 876c6d955c85c5ac64b1f42d85f4bd361b7de724 (diff) |
Publish a script to tell the catalog file name1.2.0
-rw-r--r-- | Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 4876484..fdc0636 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)'") > $@-t + chmod ugo+x $@-t + mv $@-t $@ |