You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/languages/kjssupport/template/Makefile.am

21 lines
601 B

appwizarddatadir = ${kde_datadir}/tdevappwizard
commondatadir = ${appwizarddatadir}/template-common
jshellodir = ${appwizarddatadir}/template-jshello
templatedir = ${appwizarddatadir}/templates
jshello_DATA = app.js app.tdevelop
template_DATA = jshello
DISTCLEANFILES = script.local
EXTRA_DIST = script
perl = perl
script.local: ${srcdir}/script
cp ${srcdir}/script script.local ; \
perl -npi -e 's%^#\!.*$$%#!'${perl}' -I'${commondatadir}'%g;' script.local
install-data-local: script.local
$(mkinstalldirs) $(DESTDIR)$(jshellodir)
$(INSTALL_DATA) script.local $(DESTDIR)$(jshellodir)/script