File: Makefile

package info (click to toggle)
imapcopy 1.04-2.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 380 kB
  • sloc: pascal: 2,940; xml: 103; sh: 19; makefile: 17
file content (21 lines) | stat: -rw-r--r-- 571 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
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