diff options
author | Timothy Pearson <[email protected]> | 2014-12-27 08:13:20 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2014-12-27 08:13:20 -0600 |
commit | 9b92536e6c51b66406d593745a938975e226f95e (patch) | |
tree | a40b0066dc774827f602f5e372c2f53656007553 /Makefile.am | |
download | libr-9b92536e6c51b66406d593745a938975e226f95e.tar.gz libr-9b92536e6c51b66406d593745a938975e226f95e.zip |
Initial import
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..425507e --- /dev/null +++ b/Makefile.am @@ -0,0 +1,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 |