File: Makefile

package info (click to toggle)
netgen-lvs 1.5.133-1.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,696 kB
  • sloc: ansic: 32,694; sh: 7,621; python: 1,478; makefile: 390; csh: 2; tcl: 2
file content (54 lines) | stat: -rw-r--r-- 1,316 bytes parent folder | download | duplicates (3)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
MODULE = python
NETGENDIR = ..
SRCS = 
SCRIPTS = consoletext.py helpwindow.py lvs_manager.py treeviewsplit.py
SCRIPTS += tksimpledialog.py tooltip.py lvs_help.txt

SCRIPTINSTALL = $(DESTDIR)${PYDIR}

include ${NETGENDIR}/defs.mak

main: lvs_manager.py

tcl-main: lvs_manager.py

$(DESTDIR)${PYDIR}/consoletext.py:
	${RM} $@
	${CP} consoletext.py $@

$(DESTDIR)${PYDIR}/helpwindow.py:
	${RM} $@
	${CP} helpwindow.py $@

lvs_manager.py: lvs_manager.py.in
	sed -e '/SUBST_SCRIPT_DIR/s#SUBST_SCRIPT_DIR#$(SCRIPTINSTALL)#' \
		lvs_manager.py.in > lvs_manager.py

$(DESTDIR)${PYDIR}/lvs_manager.py: lvs_manager.py
	${RM} $@
	${CP} lvs_manager.py $@

$(DESTDIR)${PYDIR}/treeviewsplit.py: treeviewsplit.py
	${RM} $@
	${CP} treeviewsplit.py $@

$(DESTDIR)${PYDIR}/tksimpledialog.py: tksimpledialog.py
	${RM} $@
	${CP} tksimpledialog.py $@

$(DESTDIR)${PYDIR}/tooltip.py: tooltip.py
	${RM} $@
	${CP} tooltip.py $@

$(DESTDIR)${PYDIR}/lvs_help.txt: lvs_help.txt
	${RM} $@
	${CP} lvs_help.txt $@

install: install-tcl

install-tcl: $(DESTDIR)${PYDIR} $(DESTDIR)${PYDIR}/consoletext.py \
	$(DESTDIR)${PYDIR}/helpwindow.py $(DESTDIR)${PYDIR}/lvs_manager.py \
	$(DESTDIR)${PYDIR}/treeviewsplit.py $(DESTDIR)${PYDIR}/tksimpledialog.py \
	$(DESTDIR)${PYDIR}/tooltip.py $(DESTDIR)${PYDIR}/lvs_help.txt

include ${NETGENDIR}/rules.mak