blob: d695657f377adc8d4e65e9024330a722fae9d2b9 (
plain)
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
30
|
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = libopkg src utils man
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libopkg.pc
interceptdir = $(datadir)/opkg/intercept
intercept_DATA = intercept/ldconfig intercept/depmod intercept/update-modules
install-data-hook:
chmod +x $(DESTDIR)$(datadir)/opkg/intercept/*
EXTRA_DIST = \
$(intercept_DATA) \
docs \
scripts \
tests \
README.md \
CHANGELOG*
run-tests:
$(MAKE) -C tests DATADIR=@datadir@ SYSCONFDIR=@sysconfdir@ VARDIR=@localstatedir@
check: run-tests
install-ptest:
cp -r $(srcdir)/tests $(DESTDIR)
cp Makefile $(DESTDIR)
sed -e 's/^Makefile/_Makefile/' < Makefile > $(DESTDIR)/Makefile
|