Commit 1db0b8aa authored by Bruno Guillaume's avatar Bruno Guillaume

version 0.47.1: remove dep to lablgladecc2

parent 5eafccfb
## 0.47.1 (2018/05/22)
* Remove lablgladecc2 from dependencies
# 0.47.0 (2018/03/13)
* adapt to new libcaml-grew
......
......@@ -32,11 +32,16 @@ clean:
rm -f src/grew_glade.ml
info:
@echo "BINDIR = $(BINDIR)"
@echo "DATA_DIR = $(DATA_DIR)"
@echo "BINDIR = $(BINDIR)"
@echo "DATA_DIR = $(DATA_DIR)"
# glade file are not handle by ocamlbuild
src/grew_glade.ml : src/grew.glade
lablgladecc2 $< > $@
sed -iback 's|src/grew.glade|$(DATA_DIR)grew.glade|g' src/grew_glade.ml
rm -f src/grew_glade.mlback
src/grew_glade.ml : src/grew_glade_init.ml
sed 's|src/grew.glade|$(DATA_DIR)grew.glade|g' src/grew_glade_init.ml > src/grew_glade.ml
# Special target to use before release
glade_build:
lablgladecc2 src/grew.glade > src/grew_glade_init.ml
glade_clean:
rm -f src/grew_glade_init.ml
\ No newline at end of file
......@@ -29,20 +29,19 @@ uninstall:
clean:
$(OCB) -clean
rm -f DATA_DIR
rm -f src/*_glade.ml
rm -f src/grew_glade.ml
info:
@echo "BINDIR = $(BINDIR)"
@echo "DATA_DIR = $(DATA_DIR)"
@echo "BINDIR = $(BINDIR)"
@echo "DATA_DIR = $(DATA_DIR)"
# glade file are not handle by ocamlbuild
src/grew_glade.ml : src/grew.glade
lablgladecc2 $< > $@
sed -iback 's|src/grew.glade|$(DATA_DIR)grew.glade|g' src/grew_glade.ml
rm -f src/grew_glade.mlback
src/grew_glade.ml : src/grew_glade_init.ml
sed 's|src/grew.glade|$(DATA_DIR)grew.glade|g' src/grew_glade_init.ml > src/grew_glade.ml
# glade file are not handle by ocamlbuild
#src/new_glade.ml : src/new.glade
# lablgladecc2 $< > $@
# sed -iback 's|src/new.glade|$(DATA_DIR)new.glade|g' src/new_glade.ml
# rm -f src/new_glade.mlback
# Special target to use before release
glade_build:
lablgladecc2 src/grew.glade > src/grew_glade_init.ml
glade_clean:
rm -f src/grew_glade_init.ml
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment