fixes for auto* build process
This commit is contained in:
parent
c51b5c2e6b
commit
b3bbc2eada
1 changed files with 18 additions and 2 deletions
20
Makefile.am
20
Makefile.am
|
@ -278,9 +278,21 @@ dist_xsd_DATA = \
|
|||
data/rc.xsd \
|
||||
data/menu.xsd
|
||||
|
||||
%.xml: %.xml.in
|
||||
edit = $(SED) \
|
||||
-e 's!@version\@!$(VERSION)!' \
|
||||
-e 's!@xsddir\@!$(xsddir)!'
|
||||
|
||||
data/rc.xml: Makefile $(srcdir)/data/rc.xml.in data
|
||||
@echo make: creating $@
|
||||
@$(SED) -e 's!@version@!$(VERSION)!' -e 's!@xsddir@!$(xsddir)!' $^ > $@
|
||||
@rm -f $@
|
||||
@mkdir data 2>/dev/null || true
|
||||
@$(edit) $(srcdir)/data/rc.xml.in >$@
|
||||
|
||||
data/menu.xml: Makefile $(srcdir)/data/menu.xml.in data
|
||||
@echo make: creating $@
|
||||
@rm -f $@
|
||||
@mkdir data 2>/dev/null || true
|
||||
@$(edit) $(srcdir)/data/menu.xml.in >$@
|
||||
|
||||
dist_userscript_DATA = \
|
||||
tools/themeupdate/themeupdate.py
|
||||
|
@ -304,6 +316,10 @@ EXTRA_DIST = \
|
|||
COPYING \
|
||||
AUTHORS
|
||||
|
||||
CLEANFILES = \
|
||||
data/rc.xml \
|
||||
data/menu.xml
|
||||
|
||||
#doc:
|
||||
# $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
|
||||
|
||||
|
|
Loading…
Reference in a new issue