diff options
-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 $@ |