diff options
author | Roger Leigh <rleigh@debian.org> | 2008-11-17 23:45:56 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2008-11-17 23:45:56 +0000 |
commit | 15fd5cc391273464beef576568675599633a9827 (patch) | |
tree | e7d832b47e388c2691310404e2f9e2961d89705a /src/xml/Makefile.am | |
parent | 33a17feb28af2d2aeabc8c7ab5ef509ea3de15a7 (diff) |
Imported Upstream version 5.2.2
Diffstat (limited to 'src/xml/Makefile.am')
-rw-r--r-- | src/xml/Makefile.am | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/xml/Makefile.am b/src/xml/Makefile.am index 65d76f5..d202566 100644 --- a/src/xml/Makefile.am +++ b/src/xml/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.2 2008/06/10 13:10:22 rlk Exp $ +## $Id: Makefile.am,v 1.4 2008/11/01 18:42:11 rleigh Exp $ ## Copyright (C) 2008 Robert Krawitz ## ## This program is free software; you can redistribute it and/or modify @@ -42,16 +42,18 @@ extract_strings_SOURCES = extract-strings.c extract_strings_LDADD = $(GUTENPRINT_LIBS) xml-stamp: $(pkgxmldata_DATA) escp2/xml-stamp Makefile.am - -rm -f xml-stamp - touch xml-stamp - sed 's;^;escp2/;' escp2/xml-stamp >> xml-stamp - for f in $(pkgxmldata_DATA) ; do echo $$f >> xml-stamp; done + -rm -f $@ $@.tmp + touch $@.tmp + sed 's;^;escp2/;' escp2/xml-stamp >> $@.tmp + for f in $(pkgxmldata_DATA) ; do echo $$f >> $@.tmp; done + mv $@.tmp $@ all-local: xmli18n-tmp.h xml-stamp -xmli18n-tmp.h: xml-stamp extract-strings - ./extract-strings `cat xml-stamp` > xmli18n-tmp.h +xmli18n-tmp.h: xml-stamp extract-strings + ./extract-strings `cat xml-stamp | sed -e 's;^;$(srcdir)/;'` > $@.tmp + mv $@.tmp $@ dist-hook: xmli18n-tmp.h @@ -59,7 +61,7 @@ dist-hook: xmli18n-tmp.h ## Clean -CLEANFILES = xmli18n-tmp.h xml-stamp +CLEANFILES = xmli18n-tmp.h xmli18n-tmp.h.tmp xml-stamp xml-stamp.tmp EXTRA_DIST = $(pkgxmldata_DATA) |