File: rules

package info (click to toggle)
orpie 1.6.1-2.1
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 1,184 kB
  • sloc: ml: 9,016; makefile: 57; python: 11; sh: 2
file content (16 lines) | stat: -rwxr-xr-x 502 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PREFIX=/usr
export DESTDIR=$(CURDIR)/debian/orpie

%:
	dh $@

override_dh_auto_build:
	dune build -p orpie

override_dh_auto_install:
	dh_auto_install
	mv $(CURDIR)/debian/orpie/usr/man $(CURDIR)/debian/orpie/usr/share/man
	mv $(CURDIR)/debian/orpie/usr/doc/$(PACKAGE) $(CURDIR)/debian/orpie/usr/share/doc/$(PACKAGE)
	mkdir -p $(CURDIR)/debian/orpie/etc/ && mv $(CURDIR)/debian/orpie/usr/etc/orpie/orpierc $(CURDIR)/debian/orpie/etc/ && rm -rf $(CURDIR)/debian/orpie/usr/etc