-
Notifications
You must be signed in to change notification settings - Fork 4
/
makefile
29 lines (27 loc) · 853 Bytes
/
makefile
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
NAME = pdf2png
VERSION = 0.5.3
SHELL = /bin/bash
INSTALL = /usr/bin/install
MSGFMT = /usr/bin/msgfmt
SED = /bin/sed
DESTDIR =
bindir = /usr/bin
localedir = /usr/share/locale
icons = /usr/share/pixmaps
mandir = /usr/share/man/man1/
deskdir = /usr/share/applications
docdir = /usr/share/doc/$(NAME)
appdir = /usr/share/$(NAME)-$(VERSION)
all:
install: all
$(INSTALL) -d $(DESTDIR)$(bindir)
$(INSTALL) -d $(DESTDIR)$(icons)
$(INSTALL) -d $(DESTDIR)$(deskdir)
$(INSTALL) -d $(DESTDIR)$(docdir)
$(INSTALL) -d $(DESTDIR)$(appdir)
$(INSTALL) -m755 bin/pdf2png.py $(DESTDIR)$(bindir)/pdf2png
$(INSTALL) -m644 install/pdf2png.png $(DESTDIR)$(icons)
$(INSTALL) -m644 install/pdf2png.desktop $(DESTDIR)$(deskdir)
$(INSTALL) -m644 README.md $(DESTDIR)$(docdir)
$(INSTALL) -m644 COPYING $(DESTDIR)$(docdir)
$(INSTALL) -m644 makefile $(DESTDIR)$(appdir)