diff options
author | Guillem Jover <guillem@hadrons.org> | 2011-02-23 14:01:06 +0100 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2011-05-14 13:43:49 +0200 |
commit | 8a99226f16b3cf638d93b23a1c80f9df2d16fd0e (patch) | |
tree | 43a52604f500fb64ef7659657679822dd718e49a /Makefile | |
parent | 1497d34760d53777648f91b357762ba8bbb2d5ce (diff) | |
download | libbsd-8a99226f16b3cf638d93b23a1c80f9df2d16fd0e.tar.gz |
Generalize pkg-config file handling
Use a make pattern for the .pc rule to allow using more than one .pc
file. And generalize the .gitignore entry.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -154,7 +154,7 @@ src/md5.3bsd: src/mdX.3 src/hash/md5hl.c: src/hash/helper.c sed -e 's:hashinc:bsd/md5.h:g' -e 's:HASH:MD5:g' $< > $@ -$(LIB_PKGCONFIG): $(LIB_PKGCONFIG).in +%.pc: %.pc.in sed -e 's:@VERSION@:$(VERSION):' \ -e 's:@prefix@:$(value prefix):' \ -e 's:@exec_prefix@:$(value exec_prefix):' \ |