blob: 425507e9d7682f58de4f1cecde600da5de65610a (
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
|
EXTRA_DIST = config.rpath m4/ChangeLog
LIBTOOL_DEPS = @LIBTOOL_DEPS@
instdir = @libdir@/pkgconfig
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = po src man
SED_REPLACE = \
-e 's=\@prefix\@=@prefix@=' \
-e 's=\@libdir\@=@libdir@=' \
-e 's=\@VERSION\@=@VERSION@=' \
-e 's=\@exec_prefix\@=@exec_prefix@=' \
-e 's=\@includedir\@=@includedir@/libr='
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
# Generate the pkg-config configuration file with all of
# the accurate installation parameters
libr.pc: libr.pc.in
cat libr.pc.in | sed $(SED_REPLACE) > libr.pc
CLEANFILES=libr.pc
# Install the pkg-config configuration file
dist_inst_DATA = \
libr.pc
|