mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-07-08 11:08:39 +00:00
25 lines
552 B
Diff
25 lines
552 B
Diff
|
The original packaging script installed relative to itself, not needed here.
|
||
|
--- a/libsearpc.pc.in
|
||
|
+++ b/libsearpc.pc.in
|
||
|
@@ -1,4 +1,4 @@
|
||
|
-prefix=(DESTDIR)@prefix@
|
||
|
+prefix=@prefix@
|
||
|
exec_prefix=@exec_prefix@
|
||
|
libdir=@libdir@
|
||
|
includedir=@includedir@
|
||
|
--- a/Makefile.am
|
||
|
+++ b/Makefile.am
|
||
|
@@ -18,12 +18,5 @@
|
||
|
|
||
|
SUBDIRS = lib pysearpc ${MAKE_DEMO} tests
|
||
|
|
||
|
-install-data-local:
|
||
|
-if MACOS
|
||
|
- sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
|
||
|
-else
|
||
|
- ${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
|
||
|
-endif
|
||
|
-
|
||
|
dist-hook:
|
||
|
git log -1 > $(distdir)/latest_commit
|