File: rules

package info (click to toggle)
lua-augeas 0.1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 84 kB
  • sloc: ansic: 290; makefile: 52
file content (16 lines) | stat: -rwxr-xr-x 360 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

march := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
libdir := /usr/lib/$(march)/lua/5.1

%:
	dh $@ --buildsystem=lua --with lua

override_dh_auto_build:
	$(MAKE)
	dh_auto_build

override_dh_auto_install:
	install -d $(CURDIR)/debian/lua-augeas/$(libdir)
	install -m 644 augeas.so $(CURDIR)/debian/lua-augeas/$(libdir)
	dh_auto_install