Skip to content

Commit

Permalink
Nicer version.ml.
Browse files Browse the repository at this point in the history
  • Loading branch information
matijapretnar committed Feb 12, 2013
1 parent c112aad commit 7100c0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ eff.p.native: src/version.ml
cd $(srcdir) && $(EFFOCAMLBUILD) $(EFFTARGET).p.native

src/version.ml:
echo "let version=\"$(PACKAGE_VERSION)\";; let effdir=\"$(effdir)\";;" > src/version.ml
echo "let version = \"$(PACKAGE_VERSION)\"" > src/version.ml
echo "let effdir = \"$(effdir)\"" >> src/version.ml

# Explain parser conflicts in the file parser.conflicts
conflicts:
Expand Down
3 changes: 2 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,8 @@ eff.p.native: src/version.ml
cd $(srcdir) && $(EFFOCAMLBUILD) $(EFFTARGET).p.native

src/version.ml:
echo "let version=\"$(PACKAGE_VERSION)\";; let effdir=\"$(effdir)\";;" > src/version.ml
echo "let version = \"$(PACKAGE_VERSION)\"" > src/version.ml
echo "let effdir = \"$(effdir)\"" >> src/version.ml

# Explain parser conflicts in the file parser.conflicts
conflicts:
Expand Down

0 comments on commit 7100c0c

Please sign in to comment.