Lines 14-37
Link Here
|
14 |
install-data-local: |
14 |
install-data-local: |
15 |
@$(NORMAL_INSTALL) |
15 |
@$(NORMAL_INSTALL) |
16 |
if test -d $(srcdir)/pixmaps; then \ |
16 |
if test -d $(srcdir)/pixmaps; then \ |
17 |
$(mkinstalldirs) $(prefix)/share/pixmaps; \ |
17 |
$(mkinstalldirs) $(DESTDIR)/$(prefix)/share/pixmaps; \ |
18 |
for pixmap in $(srcdir)/pixmaps/*; do \ |
18 |
for pixmap in $(srcdir)/pixmaps/*; do \ |
19 |
if test -f $$pixmap; then \ |
19 |
if test -f $$pixmap; then \ |
20 |
$(INSTALL_DATA) $$pixmap $(prefix)/share/pixmaps; \ |
20 |
$(INSTALL_DATA) $$pixmap $(DESTDIR)/$(prefix)/share/pixmaps; \ |
21 |
fi \ |
21 |
fi \ |
22 |
done \ |
22 |
done \ |
23 |
fi |
23 |
fi |
24 |
$(mkinstalldirs) $(prefix)/share/applications; \ |
24 |
$(mkinstalldirs) $(DESTDIR)/$(prefix)/share/applications; \ |
25 |
if test -f rawstudio.desktop; then \ |
25 |
if test -f rawstudio.desktop; then \ |
26 |
$(INSTALL_DATA) rawstudio.desktop $(prefix)/share/applications; \ |
26 |
$(INSTALL_DATA) rawstudio.desktop $(DESTDIR)/$(prefix)/share/applications; \ |
27 |
fi |
27 |
fi |
28 |
|
28 |
|
29 |
dist-hook: |
29 |
dist-hook: |
30 |
if test -d pixmaps; then \ |
30 |
if test -d pixmaps; then \ |
31 |
mkdir $(distdir)/pixmaps; \ |
31 |
mkdir $(DESTDIR)/$(distdir)/pixmaps; \ |
32 |
for pixmap in pixmaps/*; do \ |
32 |
for pixmap in pixmaps/*; do \ |
33 |
if test -f $$pixmap; then \ |
33 |
if test -f $$pixmap; then \ |
34 |
cp -p $$pixmap $(distdir)/pixmaps; \ |
34 |
cp -p $$pixmap $(DESTDIR)/$(distdir)/pixmaps; \ |
35 |
fi \ |
35 |
fi \ |
36 |
done \ |
36 |
done \ |
37 |
fi |
37 |
fi |