Browse Source

Small Makefile for building source distributions from top-level.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2782 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 15 years ago
parent
commit
079e5dde27
  1. 22
      Makefile

22
Makefile

@ -0,0 +1,22 @@
############################################################
# Small makefile for building PRISM source distributions #
############################################################
default: none
none:
@echo 'Did you want to build PRISM? Do "cd prism" and then "make"'
VERSION=# default value for VERSION is blank to force provision at command-line
dist_src: dist_check_version
mv prism-examples prism/examples
mv cudd prism
mv prism "prism-$(VERSION)-src"
(cd "prism-$(VERSION)-src"; $(MAKE) clean_all )
(cd "prism-$(VERSION)-src"; $(MAKE) dist_tidy )
dist_check_version:
@if [ "$(VERSION)" = "" ]; then echo "Usage: make dist_src VERSION=XXX"; exit 1; fi
#################################################
Loading…
Cancel
Save