make distcheck works

master
Marc Wäckerlin 10 years ago
parent 508db73cfc
commit 519de11e3b
  1. 8
      src/makefile.am

@ -5,15 +5,17 @@
bin_SCRIPTS = webrunner webtester
BUILT_SOURCES = ${bin_SCRIPTS:%=makefile.%}
EXTRA_DIST = *.[ch]xx *.ui @PACKAGE_NAME@.pro
EXTRA_DIST = commands.hxx networkaccessmanager.hxx testgui.ui \
webrunner.cxx web.ui exceptions.hxx testgui.hxx \
webpage.hxx webtester.cxx @PACKAGE_NAME@.pro
clean-local: ${bin_SCRIPTS:%=clean.%}
webrunner: make.webrunner
webtester: make.webtester
makefile.%:
qmake -o $@ -config debug -config ${@:makefile.%=%}
makefile.%: ${srcdir}/webtester.pro
qmake -makefile -o $@ -config debug -config ${@:makefile.%=%} $<
make.%: makefile.%
make -f ${<}

Loading…
Cancel
Save