File: Makefile

package info (click to toggle)
pysol 1.00-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 468 kB
  • ctags: 337
  • sloc: python: 2,552; makefile: 62
file content (41 lines) | stat: -rw-r--r-- 598 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#
# PySol Makefile
#

PACKAGE = pysol
VERSION = 1.00

srcdir = .
top_srcdir = $(srcdir)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)


default: test

test:
	python -u -t pysol.py

install:
	cp pysol.py /usr/games/pysol
	chmod a+rx,go-w /usr/games/pysol
	-rm -rf /usr/share/pysol
	cp -dR data /usr/share/pysol
	chmod -R a+r,go-w /usr/share/pysol

uninstall:
	-rm -f /usr/games/pysol
	-rm -rf /usr/share/pysol

clean:
	-rm -f *.pyc *.pyo
	-rm -rf $(distdir)
	-rm -f $(distdir).tar.gz

.PHONY: default test install uninstall clean

-include maint/top.mk

#T#:bundle:
#T#:dist:
#T#:freeze: