Skip to content

Commit

Permalink
This commit was generated by cvs2svn to compensate for changes in r223,
Browse files Browse the repository at this point in the history
which included commits to RCS files with non-trunk default branches.
  • Loading branch information
detsch committed Dec 4, 2005
0 parents commit b84ee9d
Show file tree
Hide file tree
Showing 5 changed files with 1,430 additions and 0 deletions.
37 changes: 37 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
VERSION=

PROGRAM_NAME=AbsTK

PACKAGE_DIR=$(HOME)

This comment has been minimized.

Copy link
@lauralann6

lauralann6 Jan 7, 2019

1

PACKAGE_ROOT=$(PACKAGE_DIR)/$(PROGRAM_NAME)
PACKAGE_BASE=$(PACKAGE_ROOT)/$(VERSION)
PACKAGE_FILE=$(PACKAGE_DIR)/$(PACKAGE_NAME)--$(VERSION)--$(shell uname -m).tar.bz2

PYTHON_VERSION=2.4
PYTHON_LIBS=cwizard qtwizard wizard
PYTHON_SITE=lib/python$(PYTHON_VERSION)/site-packages

all:
[ -e $(PYTHON_SITE) ] || mkdir -p $(PYTHON_SITE)
for f in $(PYTHON_LIBS); \
do libf=$(PYTHON_SITE)/$$f.py; \
rm -f $$libf; ln -nfs ../../../src/$$f.py $$libf; \
done
DirPythonCompile $(PYTHON_SITE) 2> /dev/null


clean :
for f in $(PYTHON_LIBS); do libf=$(PYTHON_SITE)/$$f; rm -f $$libf.{pyo,pyc,py}; done
rmdir $(PYTHON_SITE) && rmdir lib/python$(PYTHON_VERSION) && rmdir lib

version_check:
@[ "$(VERSION)" = "" ] && { echo -e "Error: run make with VERSION=<version-number>.\n"; exit 1 ;} || exit 0

dist: version_check all
rm -rf $(PACKAGE_ROOT)
mkdir -p $(PACKAGE_BASE)
find * -not -path "*/CVS" -and -not -path "*/CVS/*" -and -not -path "*.py[oc]" -and -not -path "*~" | cpio -p $(PACKAGE_BASE)
cd $(PACKAGE_DIR); tar cvp $(PROGRAM_NAME) | bzip2 > $(PACKAGE_FILE)
rm -rf $(PACKAGE_ROOT)
echo "Package at $(PACKAGE_FILE)"

Empty file added Resources/Dependencies
Empty file.
Loading

0 comments on commit b84ee9d

Please sign in to comment.