Commit ee38f241 authored by Daniel Elstner's avatar Daniel Elstner
Browse files

Simplify. Since regexxer.schemas is now a generated file it is always

* Makefile.am (install-schemas): Simplify.  Since regexxer.schemas
is now a generated file it is always placed in the build directory.
(uninstall-schemas): Likewise.  Also add $(schemas_DATA) to the
prerequisites so that the rule will work with a clean tree.  Having
make uninstall generate files is a little awkward, but I cannot see
a way around that :/
parent 4989412c
2004-05-17 Daniel Elstner <daniel.elstner@gmx.net>
* Makefile.am (install-schemas): Simplify. Since regexxer.schemas
is now a generated file it is always placed in the build directory.
(uninstall-schemas): Likewise. Also add $(schemas_DATA) to the
prerequisites so that the rule will work with a clean tree. Having
make uninstall generate files is a little awkward, but I cannot see
a way around that :/
2004-05-17 Daniel Elstner <daniel.elstner@gmx.net>
* Makefile.am (CLEANFILES): List build-time generated files
......
......@@ -53,9 +53,7 @@ endif
install-schemas: $(schemas_DATA)
@$(POST_INSTALL)
@file='$(schemas_DATA)'; test -f "$$file" || file="$(srcdir)/$$file"; \
echo " $(gconftool_command) --makefile-install-rule $$file"; \
$(gconftool_command) --makefile-install-rule $$file
$(gconftool_command) --makefile-install-rule $^
@echo; \
echo "*** NOTE ***"; \
echo "If you executed src/regexxer before running 'make install' as privileged user,"; \
......@@ -65,9 +63,7 @@ install-schemas: $(schemas_DATA)
echo " gconftool-2 --shutdown; gconftool-2 --spawn"; \
echo
uninstall-schemas:
uninstall-schemas: $(schemas_DATA)
@$(NORMAL_UNINSTALL)
@file='$(schemas_DATA)'; test -f "$$file" || file="$(srcdir)/$$file"; \
echo " $(gconftool_command) --makefile-uninstall-rule $$file"; \
$(gconftool_command) --makefile-uninstall-rule $$file
$(gconftool_command) --makefile-uninstall-rule $^
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