blob: 1f6a7842a32571fc6927047b242a0cca5f06e367 (
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
|
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) CONTRIBUTING ChangeLog.ipkg \
developer-doc tests scripts
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
|