## * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ## * This source file is part of SableVM. * ## * * ## * See the file "LICENSE" for the copyright information and for * ## * the terms and conditions for copying, distribution and * ## * modification of this source file. * ## * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * SUBDIRS = doc src pkgdata_DATA = LICENSE AUTHORS LGPL-2.1 EXTRA_DIST = .indent.pro LICENSE java-sablevm.tmpl ChangeLog INSTALL-DEVEL LGPL-2.1 bin_SCRIPTS = java-sablevm CLEANFILES = java-sablevm ChangeLog # for path substitution in the script we need to get "bindir" from make time # and NOT install time! BUILT_SOURCES = java-sablevm java-sablevm: java-sablevm.tmpl rm -f $@ cat $^ | \ sed s/SABLEVM_BINARY/`echo @bindir@/sablevm | sed 's/\\//\\\\\\//g'`/g \ > $@ chmod a-w $@ ChangeLog: svn log -v > $@ indent: find . | \ grep \\.[ch]$$ | \ awk ' \ {print "indent " $$1 " -o " $$1 ".indented && \ if cmp -s " $$1 " " $$1 ".indented; \ then rm " $$1 ".indented; \ else mv " $$1 ".indented " $$1 "; \ echo " $$1 "; \ fi"} \ ' | \ sh