(file) Return to patch-00-Makefile.in CVS log (file) (dir) Up to [godi-build] / trunk / godi / godi-camomile / patches / patch-00-Makefile.in

File: [godi-build] / trunk / godi / godi-camomile / patches / patch-00-Makefile.in (download)
Revision: 2364, Fri Oct 10 11:05:31 2008 UTC (10 years, 11 months ago) by Yoric
File size: 2048 byte(s)
Updated Camomile to 0.7.1.


--- Makefile.in	2006-08-14 13:35:01.000000000 +0200
+++ Makefile.in.godiva	2008-10-07 16:00:07.000000000 +0200
@@ -18,6 +18,7 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 BINDIR=@bindir@
+PREFIS=$(prefix)
 
 # where to install the data files
 DATADIR=@datadir@
@@ -113,10 +114,10 @@
 	$(OCAMLOPT) -c $(OFLAGS) -impl $<
 
 public/main.ml : public/main.mlp public/main.cmi
-	$(CPP) -P -I $(SUBDIR) -o public/main.ml -x c public/main.mlp 
+	$(CPP) -P $(SUBDIR) -o public/main.ml -x c public/main.mlp 
 
 public/main.mli : public/main.mlip
-	$(CPP) -P -I $(SUBDIR) -o public/main.mli -x c public/main.mlip 
+	$(CPP) -P $(SUBDIR) -o public/main.mli -x c public/main.mlip 
 
 camomileDefaultConfig.ml : Makefile
 	(echo "(* This file is automatically generated *)" && \
@@ -379,16 +380,16 @@
 	cp -f tools/camomilelocaledef.$(OCAMLBEST) $(BINDIR)
 
 install-data:
-	mkdir -p $(DATADIR)
-	mkdir -p $(DATADIR)/camomile
-	mkdir -p $(DATADIR)/camomile/database
-	cp -f database/*.mar $(DATADIR)/camomile/database || true
-	mkdir -p $(DATADIR)/camomile/charmaps
-	cp -f charmaps/*.mar $(DATADIR)/camomile/charmaps || true
-	mkdir -p $(DATADIR)/camomile/mappings
-	cp -f mappings/*.mar $(DATADIR)/camomile/mappings || true
-	mkdir -p $(DATADIR)/camomile/locales
-	cp -f locales/*.mar $(DATADIR)/camomile/locales || true
+	mkdir -p $(PREFIX)/share
+	mkdir -p $(PREFIX)/share/camomile
+	mkdir -p $(PREFIX)/share/camomile/database
+	cp -f database/*.mar $(PREFIX)/share/camomile/database || true
+	mkdir -p $(PREFIX)/share/camomile/charmaps
+	cp -f charmaps/*.mar $(PREFIX)/share/camomile/charmaps || true
+	mkdir -p $(PREFIX)/share/camomile/mappings
+	cp -f mappings/*.mar $(PREFIX)/share/camomile/mappings || true
+	mkdir -p $(PREFIX)/share/camomile/locales
+	cp -f locales/*.mar $(PREFIX)/share/camomile/locales || true
 
 uninstall: $(UNINSTALL) uninstall-bin
 
@@ -399,7 +400,7 @@
 
 uninstall-with-ocamlfind:
 	ocamlfind remove camomile
-	rm -fr $(DATADIR)/camomile
+	rm -fr $(PREFIX)/share/camomile
 
 uninstall-bin:
 	rm -f $(BINDIR)/camomilecharmap.*

SVN admin
Powered by
ViewCVS 1.0-dev