improved "make uninstall" of Geany
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@196 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
6a5cb95d13
commit
2b08b018a9
@ -11,6 +11,10 @@ EXTRA_DIST = \
|
||||
global.tags \
|
||||
data/filetypes.*
|
||||
|
||||
uninstall-local:
|
||||
rm -rf $(DESTDIR)$(pkgdatadir);
|
||||
rm $(DESTDIR)$(datadir)/pixmaps/geany.png;
|
||||
|
||||
install-data-local:
|
||||
@$(NORMAL_INSTALL)
|
||||
if test -d $(srcdir)/pixmaps; then \
|
||||
|
@ -31,6 +31,9 @@ doc-clean:
|
||||
rm -f geany.txt
|
||||
rm -f *.pdf
|
||||
|
||||
uninstall-local:
|
||||
rm -rf $(DOCDIR);
|
||||
|
||||
install-data-local: geany.1 geany.txt html/index.html
|
||||
$(mkinstalldirs) $(DOCDIR)/html/images
|
||||
for file in `ls $(HTML_FILES)`; do \
|
||||
@ -45,5 +48,11 @@ install-data-local: geany.1 geany.txt html/index.html
|
||||
$(INSTALL_DATA) $(srcdir)/$$file $(DOCDIR)/html/images/$$basefile; \
|
||||
fi \
|
||||
done
|
||||
$(INSTALL_DATA) geany.txt $(DOCDIR)
|
||||
$(INSTALL_DATA) geany.txt $(DOCDIR)/manual.txt
|
||||
$(INSTALL_DATA) ../README $(DOCDIR)
|
||||
$(INSTALL_DATA) ../ChangeLog $(DOCDIR)
|
||||
$(INSTALL_DATA) ../NEWS $(DOCDIR)
|
||||
$(INSTALL_DATA) ../COPYING $(DOCDIR)
|
||||
$(INSTALL_DATA) ../AUTHORS $(DOCDIR)
|
||||
$(INSTALL_DATA) ../TODO $(DOCDIR)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user