1 INSTALL=install 1 INSTALL=install 2 2 3 prefix ?= /usr 3 prefix ?= /usr 4 bindir ?= $(prefix)/bin 4 bindir ?= $(prefix)/bin 5 mandir ?= $(prefix)/share/man 5 mandir ?= $(prefix)/share/man 6 miscdir ?= $(prefix)/share/dot2 6 miscdir ?= $(prefix)/share/dot2 7 srcdir ?= $(prefix)/src 7 srcdir ?= $(prefix)/src 8 8 9 PYLIB ?= $(shell python3 -c 'import sysconfig 9 PYLIB ?= $(shell python3 -c 'import sysconfig; print (sysconfig.get_path("purelib"))') 10 10 11 .PHONY: all 11 .PHONY: all 12 all: 12 all: 13 13 14 .PHONY: clean 14 .PHONY: clean 15 clean: 15 clean: 16 16 17 .PHONY: install 17 .PHONY: install 18 install: 18 install: 19 $(INSTALL) automata.py -D -m 644 $(DES 19 $(INSTALL) automata.py -D -m 644 $(DESTDIR)$(PYLIB)/dot2/automata.py 20 $(INSTALL) dot2c.py -D -m 644 $(DESTDI 20 $(INSTALL) dot2c.py -D -m 644 $(DESTDIR)$(PYLIB)/dot2/dot2c.py 21 $(INSTALL) dot2c -D -m 755 $(DESTDIR)$ 21 $(INSTALL) dot2c -D -m 755 $(DESTDIR)$(bindir)/ 22 $(INSTALL) dot2k.py -D -m 644 $(DESTDI 22 $(INSTALL) dot2k.py -D -m 644 $(DESTDIR)$(PYLIB)/dot2/dot2k.py 23 $(INSTALL) dot2k -D -m 755 $(DESTDIR)$ 23 $(INSTALL) dot2k -D -m 755 $(DESTDIR)$(bindir)/ 24 24 25 mkdir -p ${miscdir}/ 25 mkdir -p ${miscdir}/ 26 cp -rp dot2k_templates $(DESTDIR)$(mis 26 cp -rp dot2k_templates $(DESTDIR)$(miscdir)/
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.