File: Makefile

package info (click to toggle)
imapcopy 1.04-2.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 348 kB
  • ctags: 277
  • sloc: pascal: 2,939; xml: 103; sh: 19; makefile: 17
file content (21 lines) | stat: -rw-r--r-- 571 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl
XP     = xsltproc --nonet --param man.charmap.use.subset "0"

all: imapcopy imapcopy.1

imapcopy: imapcopymain.pas imaptools.pas inet.pp
	fpc -k-z -krelro -g imapcopy

imapcopy.1: debian/manpage.xml
	$(XP) $(DB2MAN) $<

clean:
	rm -f *.ppu *.o imapcopy imapcopy.1

install: imapcopy
	install -d $(DESTDIR)/usr/bin
	install -d $(DESTDIR)/usr/share/man/man1
	install imapcopy $(DESTDIR)/usr/bin/imapcopy
	install imapcopy.1 $(DESTDIR)/usr/share/man/man1/imapcopy.1

.PHONY: clean install all