|
Lines 11-62
Link Here
|
| 11 |
# |
11 |
# |
| 12 |
# This was the original I found somewhere on the Internet. |
12 |
# This was the original I found somewhere on the Internet. |
| 13 |
# |
13 |
# |
| 14 |
#install-data-local: |
|
|
| 15 |
# @$(NORMAL_INSTALL) |
| 16 |
# if test -d $(srcdir)/pixmaps; then \ |
| 17 |
# $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ |
| 18 |
# for pixmap in $(srcdir)/pixmaps/*; do \ |
| 19 |
# if test -f $$pixmap; then \ |
| 20 |
# $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ |
| 21 |
# fi \ |
| 22 |
# done \ |
| 23 |
# fi |
| 24 |
# |
| 25 |
#dist-hook: |
| 26 |
# if test -d pixmaps; then \ |
| 27 |
# mkdir $(distdir)/pixmaps; \ |
| 28 |
# for pixmap in pixmaps/*; do \ |
| 29 |
# if test -f $$pixmap; then \ |
| 30 |
# cp -p $$pixmap $(distdir)/pixmaps; \ |
| 31 |
# fi \ |
| 32 |
# done \ |
| 33 |
# fi |
| 34 |
# |
| 35 |
|
| 36 |
# |
| 37 |
# I made this modified version. As you see I changed the target |
| 38 |
# directory for the application pixmaps. I did it because this |
| 39 |
# directory much more compatible with the GNOME menus, so I can use |
| 40 |
# custom icons in menus made with the glade2. |
| 41 |
# |
| 42 |
install-data-local: |
14 |
install-data-local: |
| 43 |
@$(NORMAL_INSTALL) |
15 |
@$(NORMAL_INSTALL) |
| 44 |
if test -d $(srcdir)/pixmaps; then \ |
16 |
if test -d $(srcdir)/pixmaps; then \ |
| 45 |
$(mkinstalldirs) /usr/share/pixmaps/$(PACKAGE); \ |
17 |
$(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ |
| 46 |
for pixmap in $(srcdir)/pixmaps/*; do \ |
18 |
for pixmap in $(srcdir)/pixmaps/*; do \ |
| 47 |
if test -f $$pixmap; then \ |
19 |
if test -f $$pixmap; then \ |
| 48 |
$(INSTALL_DATA) $$pixmap /usr/share/pixmaps/$(PACKAGE); \ |
20 |
$(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ |
| 49 |
fi \ |
21 |
fi \ |
| 50 |
done \ |
22 |
done \ |
| 51 |
fi |
23 |
fi |
| 52 |
|
24 |
|
| 53 |
dist-hook: |
25 |
dist-hook: |
| 54 |
if test -d pixmaps; then \ |
26 |
if test -d pixmaps; then \ |
| 55 |
mkdir /usr/share/pixmaps/cuiterm; \ |
27 |
mkdir $(distdir)/pixmaps; \ |
| 56 |
for pixmap in pixmaps/*; do \ |
28 |
for pixmap in pixmaps/*; do \ |
| 57 |
if test -f $$pixmap; then \ |
29 |
if test -f $$pixmap; then \ |
| 58 |
cp -p $$pixmap /usr/share/pixmaps/cuiterm; \ |
30 |
cp -p $$pixmap $(distdir)/pixmaps; \ |
| 59 |
fi \ |
31 |
fi \ |
| 60 |
done \ |
32 |
done \ |
| 61 |
fi |
33 |
fi |
| 62 |
|
34 |
|
|
|
35 |
|
| 36 |
# |
| 37 |
# I made this modified version. As you see I changed the target |
| 38 |
# directory for the application pixmaps. I did it because this |
| 39 |
# directory much more compatible with the GNOME menus, so I can use |
| 40 |
# custom icons in menus made with the glade2. |
| 41 |
# |
| 42 |
#install-data-local: |
| 43 |
# @$(NORMAL_INSTALL) |
| 44 |
# if test -d $(srcdir)/pixmaps; then \ |
| 45 |
# $(mkinstalldirs) /usr/share/pixmaps/$(PACKAGE); \ |
| 46 |
# for pixmap in $(srcdir)/pixmaps/*; do \ |
| 47 |
# if test -f $$pixmap; then \ |
| 48 |
# $(INSTALL_DATA) $$pixmap /usr/share/pixmaps/$(PACKAGE); \ |
| 49 |
# fi \ |
| 50 |
# done \ |
| 51 |
# fi |
| 52 |
# |
| 53 |
#dist-hook: |
| 54 |
# if test -d pixmaps; then \ |
| 55 |
# mkdir /usr/share/pixmaps/cuiterm; \ |
| 56 |
# for pixmap in pixmaps/*; do \ |
| 57 |
# if test -f $$pixmap; then \ |
| 58 |
# cp -p $$pixmap /usr/share/pixmaps/cuiterm; \ |
| 59 |
# fi \ |
| 60 |
# done \ |
| 61 |
# fi |
| 62 |
|