Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 5215 → Rev 5216

/branches/Version13x/Scribus/scribus/Makefile.am
255,14 → 255,14
 
 
 
about.o: about_builddate.inc
#about.o: about_builddate.inc
 
about_builddate.inc:
if -n BUILD_NAME ; then
python -c 'f = open("about_builddate.inc", "w") ; import sys; args = sys.argv + [""]; import time; f.write(time.strftime("BUILD_YEAR = \"%Y\";\nBUILD_DAY = \"%d\";\nBUILD_MONTH = \"%B\";\nBUILD_TIME=\"%H:%M\";\nBUILD_TZ = \"%Z\";\n")); f.write("BUILD_NAME = \"%s\";\n" % args[1]); f.close()' ${BUILD_NAME}
else
touch about_builddate.inc
endif
#about_builddate.inc:
# if -n BUILD_NAME ; then
# python -c 'f = open("about_builddate.inc", "w") ; import sys; args = sys.argv + [""]; import time; f.write(time.strftime("BUILD_YEAR = \"%Y\";\nBUILD_DAY = \"%d\";\nBUILD_MONTH = \"%B\";\nBUILD_TIME=\"%H:%M\";\nBUILD_TZ = \"%Z\";\n")); f.write("BUILD_NAME = \"%s\";\n" % args[1]); f.close()' ${BUILD_NAME}
# else
# touch about_builddate.inc
# endif
 
install-data-local:
$(mkinstalldirs) $(libdir)/scribus/