Install program link in bin/ (maybe this should be a wrapper script or executeable).
authortwisti <none@none>
Mon, 6 Dec 2004 15:26:02 +0000 (15:26 +0000)
committertwisti <none@none>
Mon, 6 Dec 2004 15:26:02 +0000 (15:26 +0000)
src/cacao/Makefile.am
src/cacaoh/Makefile.am

index 84528a2ff63b9a7987a85966674adf5dc2200884..4aca594ae87321557d0083337cda835799b05686 100644 (file)
@@ -28,7 +28,7 @@
 ##
 ## Changes:
 ##
-## $Id: Makefile.am 1699 2004-12-06 12:44:24Z twisti $
+## $Id: Makefile.am 1705 2004-12-06 15:26:02Z twisti $
 
 ## Process this file with automake to produce Makefile.in
 
@@ -91,6 +91,10 @@ cacao_LDADD = \
 
 cacao_DEPENDENCIES = $(cacao_LDADD)
 
+install-exec-hook:
+       $(mkinstalldirs) $(DESTDIR)$(prefix)/bin
+       $(LN_S) $(DESTDIR)$(bindir)/cacao $(DESTDIR)$(prefix)/bin
+
 
 ## Local variables:
 ## mode: Makefile
index 6eb23e069267395b0b604cad15a8ac2ceb696e64..261e45fe7e6a3bae73c7a2aca4aeb13e7f37c665 100644 (file)
@@ -28,7 +28,7 @@
 ##
 ## Changes:
 ##
-## $Id: Makefile.am 1699 2004-12-06 12:44:24Z twisti $
+## $Id: Makefile.am 1705 2004-12-06 15:26:02Z twisti $
 
 ## Process this file with automake to produce Makefile.in
 
@@ -63,6 +63,9 @@ cacaoh_LDADD = \
 
 cacaoh_DEPENDENCIES = $(cacaoh_LDADD)
 
+install-exec-hook:
+       $(mkinstalldirs) $(DESTDIR)$(prefix)/bin
+       $(LN_S) $(DESTDIR)$(bindir)/cacaoh $(DESTDIR)$(prefix)/bin
 
 ## Local variables:
 ## mode: Makefile