Permalink
Browse files

fixes from Martin Günther

fixes the following bugs:

1. it doesn't install all *.pl files (is this intentional? maybe some
  are still too much in development?)

2. it doesn't install basicset.pl and advancedset.pl into a rules/
  subdir, but owl2_basic_reasoner.pl loads ['rules/basicset'].

3. It doesn't build the LaTeX documentation. It took me ages to realize
  that parts of the Makefile were just copied over from plunit and just
  are not meant to work. Commenting out these targets (or at least
  leaving a comment which parts don't work) would help.
  • Loading branch information...
1 parent 443f534 commit 3a046e0c3b66a65f31f339ac2c57fa5db034e07f @cmungall cmungall committed Jul 2, 2010
Showing with 23 additions and 3 deletions.
  1. +23 −3 Makefile.in
View
@@ -33,24 +33,37 @@ INSTALL_DATA=@INSTALL_DATA@
LIBPL=\
owl2_basic_reasoner.pl\
+owl2_catalog.pl\
+owl2_classifier.pl\
owl2_export_rdf.pl\
+owl2_fol.pl\
owl2_from_rdf.pl\
owl2_from_rdf_utils.pl\
+owl2_instance_util.pl\
owl2_io.pl\
owl2_java_owlapi.pl\
owl2_manchester_parser.pl\
owl2_metamodel.pl\
owl2_model.pl\
owl2_owllink.pl\
owl2_plsyn.pl\
+owl2_popl.pl\
+owl2_profiles.pl\
owl2_reasoner.pl\
+owl2_reasoning_rules.pl\
+owl2_rl_rules.pl\
+owl2_tbox_reasoner.pl\
owl2_thea1_compat.pl\
owl2_to_progol.pl\
owl2_to_prolog_dlp.pl\
owl2_util.pl\
owl2_xml.pl\
+owl_parser.pl\
swrl.pl\
swrl_rdf_hooks.pl\
+thea.pl
+
+LIBPLRULES=\
rules/advancedset.pl\
rules/basicset.pl
@@ -60,17 +73,24 @@ EXAMPLES= README
all:
@echo "Nothing to do for this package"
-install: $(LIBPL)
+install: $(LIBPL) $(LIBPLRULES)
mkdir -p $(DESTDIR)$(LIBDIR)
- $(INSTALL_DATA) -c $(LIBALL) $(DESTDIR)$(LIBDIR)
+ $(INSTALL_DATA) $(LIBALL) $(DESTDIR)$(LIBDIR)
+ mkdir -p $(DESTDIR)$(LIBDIR)/rules
+ $(INSTALL_DATA) $(LIBPLRULES) $(DESTDIR)$(LIBDIR)/rules
$(PL) -f none -g make -t halt
-ln-install: $(LIBPL)
+ln-install: $(LIBPL) $(LIBPLRULES)
mkdir -p $(DESTDIR)$(LIBDIR)
for f in $(LIBALL); do \
rm -f $(DESTDIR)$(LIBDIR)/$$f; \
ln -s `pwd`/$$f $(DESTDIR)$(LIBDIR); \
done
+ mkdir -p $(DESTDIR)$(LIBDIR)/rules
+ for f in $(LIBPLRULES); do \
+ rm -f $(DESTDIR)$(LIBDIR)/$$f; \
+ ln -s `pwd`/$$f $(DESTDIR)$(LIBDIR)/rules; \
+ done
$(PL) -f none -g make -t halt
rpm-install: install

0 comments on commit 3a046e0

Please sign in to comment.