File: Makefile

package info (click to toggle)
cd-circleprint 0.7.0-5.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 208 kB
  • sloc: perl: 1,643; makefile: 49
file content (23 lines) | stat: -rw-r--r-- 721 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Edit the DIRs for your needs and run make

INSTALL_DIR = $(DESTDIR)/usr

INSTALL = /usr/bin/install

all: install 

install: 
	$(INSTALL) -d $(INSTALL_DIR)/bin/
	cp perl/cd-label.pl $(INSTALL_DIR)/bin/cd-circleprint
	chmod 755 $(INSTALL_DIR)/bin/cd-circleprint
	$(INSTALL) -d $(DESTDIR)/usr/share/cd-circleprint/
	cp graphics/debian_logo.eps $(DESTDIR)/usr/share/cd-circleprint/debian_logo.eps
	$(INSTALL) -d $(INSTALL_DIR)/share/man/man1/
	pod2man --section=1 $(INSTALL_DIR)/bin/cd-circleprint > $(INSTALL_DIR)/share/man/man1/cd-circleprint.1

uninstall: 
	rm -f $(INSTALL_DIR)/bin/cd-circleprint
	rm -f $(INSTALL_DIR)/share/man/man1/cd-circleprint.1
	rm -f $(DESTDIR)/usr/share/cd-circleprint/*.eps

clean: uninstall