commit 7764abe3e366d368a592e9986678af47e0f798a5
parent 4bb6819735cf03fb1e12fb61c210cc3e8effbb52
Author: Kyle Milz <kyle@0x30.net>
Date: Fri, 8 Jul 2016 23:14:01 -0600
src: add stuff to make citrun-wrap
Diffstat:
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/src/Jamfile b/src/Jamfile
@@ -1,5 +1,20 @@
SubDir TOP src ;
+rule MkCitrunWrap
+{
+ Depends $(1) : $(2) ;
+ Depends all : $(1) ;
+ Clean clean : $(1) ;
+}
+
+actions MkCitrunWrap
+{
+ sed -e s,%PREFIX%,$(PREFIX), < $(2) > $(1) ;
+ chmod 755 $(1) ;
+}
+
+MkCitrunWrap $(TOP)/src/citrun-wrap : $(TOP)/src/wrap.in ;
+
INST_SRCS =
inst_main.cc
inst_action.cc
@@ -35,7 +50,7 @@ LinkLibraries citrun-gl : libglyphy ;
Main citrun-inst : $(INST_SRCS) ;
Main citrun-gl : $(GL_SRCS) ;
+InstallShell $(PREFIX)/bin : citrun-wrap ;
InstallBin $(PREFIX)/bin : citrun-inst citrun-gl ;
-InstallMan $(PREFIX)/man : citrun-inst.1 citrun-gl.1 ;
SubInclude TOP src glyphy ;