+
+HELM_BIN_DIR=@HELM_BIN_DIR@
HELM_LIB_DIR=@HELM_LIB_DIR@
HELM_ETC_DIR=@HELM_ETC_DIR@
+HELM_SHARE_DIR=@HELM_SHARE_DIR@
+HELM_VAR_DIR=@HELM_VAR_DIR@
+HELM_DTD_DIR=@HELM_DTD_DIR@
+HELM_STYLE_DIR=@HELM_STYLE_DIR@
HELM_LIBRARY_DIR=@HELM_LIBRARY_DIR@
+all:
+
install:
+ mkdir -p $(HELM_BIN_DIR)
+ cp helm-config $(HELM_BIN_DIR)
+ mkdir -p $(HELM_LIB_DIR)
+ mkdir -p $(HELM_ETC_DIR)
+ mkdir -p $(HELM_SHARE_DIR)
+ mkdir -p $(HELM_VAR_DIR)
+ chmod 777 $(HELM_VAR_DIR)
+ mkdir -p $(HELM_LIBRARY_DIR)
+ chmod 777 $(HELM_LIBRARY_DIR)
+ mkdir -p $(HELM_DTD_DIR)
+ mkdir -p $(HELM_STYLE_DIR)
cp lib/configuration.pl $(HELM_LIB_DIR)
- cp etc/* $(HELM_ETC_DIR)
- cp library/servers.txt library/urls_of_uris.db $(HELM_LIBRARY_DIR)
+ cp etc/configuration.dtd etc/configuration.xml etc/helm-dictionary.xml \
+ etc/helm-font-configuration.xml etc/helm-math-engine-configuration.xml\
+ $(HELM_ETC_DIR)
+ cp library/servers.txt library/urls_of_uris.db $(HELM_VAR_DIR)
+ chmod 666 $(HELM_VAR_DIR)/servers.txt \
+ $(HELM_VAR_DIR)/urls_of_uris.db
+
+clean:
distclean:
- rm -f Makefile configure config.log config.cache config.status
+ rm -f Makefile configure config.log config.cache config.status \
+ etc/configuration.xml etc/helm-math-engine-configuration.xml \
+ lib/configuration.pl helm-config helm_configuration.spec
+
+dist: clean
+ rm -rf ../@PACKAGE@-@VERSION@
+ mkdir ../@PACKAGE@-@VERSION@
+ cp -r * ../@PACKAGE@-@VERSION@
+ (cd .. ; tar cvfz @PACKAGE@-@VERSION@.tar.gz @PACKAGE@-@VERSION@ ; rm -rf @PACKAGE@-@VERSION@)
+
+.PHONY: all install distclean
-.PHONY: install distclean