Skip to content

Commit

Permalink
Don't install pixmaps/geany.ico by default.
Browse files Browse the repository at this point in the history
Fix mandir path and don't delete icons (patch by Yura Siamashka, thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2109 ea778897-0a13-0410-b9d1-a72fbfd435f5
  • Loading branch information
eht16 committed Dec 18, 2007
1 parent 9a236fc commit 948ccf3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2007-12-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>

* Makefile.am: Don't install pixmaps/geany.ico by default.
* geany.spec.in: Fix mandir path and don't delete icons
(patch by Yura Siamashka, thanks).


2007-12-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>

* tagmanager/c.c:
Expand Down
6 changes: 1 addition & 5 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,7 @@ install-data-local:
@$(NORMAL_INSTALL)
if test -d $(srcdir)/pixmaps; then \
$(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps; \
for pixmap in $(srcdir)/pixmaps/*; do \
if test -f $$pixmap; then \
$(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps; \
fi \
done \
$(INSTALL_DATA) pixmaps/geany.png $(DESTDIR)$(datadir)/pixmaps; \
fi
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
$(INSTALL_DATA) $(srcdir)/data/global.tags $(DESTDIR)$(pkgdatadir); \
Expand Down
4 changes: 2 additions & 2 deletions geany.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Some features:
%install
%__rm -Rf $RPM_BUILD_ROOT
%makeinstall
%__rm -Rf $RPM_BUILD_ROOT%{_datadir}/icons/
%__rm $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
%__rm $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.ico

%clean
Expand All @@ -50,5 +50,5 @@ Some features:
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/doc/%{name}/
%{_datadir}/man/man1/%{name}.1.gz
%{_mandir}/man1/%{name}.1.gz
%{_datadir}/icons/hicolor/16x16/apps/classviewer-*.png

0 comments on commit 948ccf3

Please sign in to comment.