Lines 20-29
Link Here
|
20 |
|
20 |
|
21 |
dist-hook: |
21 |
dist-hook: |
22 |
if test -d $(srcdir)/pixmaps; then \ |
22 |
if test -d $(srcdir)/pixmaps; then \ |
23 |
mkdir $(datadir)/$(PACKAGE_NAME)/pixmaps; \ |
23 |
mkdir $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/pixmaps; \ |
24 |
for pixmap in pixmaps/*; do \ |
24 |
for pixmap in pixmaps/*; do \ |
25 |
if test -f $$pixmap; then \ |
25 |
if test -f $$pixmap; then \ |
26 |
cp -p $$pixmap $(datadir)/$(PACKAGE_NAME)/pixmaps; \ |
26 |
cp -p $$pixmap $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/pixmaps; \ |
27 |
fi \ |
27 |
fi \ |
28 |
done \ |
28 |
done \ |
29 |
fi |
29 |
fi |
Lines 32-47
Link Here
|
32 |
if test -d $(DESTDIR)$(datadir)/$(PACKAGE); then \ |
32 |
if test -d $(DESTDIR)$(datadir)/$(PACKAGE); then \ |
33 |
rm -rf "$(DESTDIR)$(datadir)/$(PACKAGE)"; \ |
33 |
rm -rf "$(DESTDIR)$(datadir)/$(PACKAGE)"; \ |
34 |
fi |
34 |
fi |
35 |
if test -d $(datadir)/$(PACKAGE_NAME); then \ |
|
|
36 |
rm -rf "$(datadir)/$(PACKAGE_NAME)"; \ |
37 |
fi |
38 |
|
35 |
|
39 |
install-data-local: |
36 |
install-data-local: |
40 |
if test -d $(srcdir)/pixmaps; then \ |
37 |
if test -d $(srcdir)/pixmaps; then \ |
41 |
mkdir $(datadir)/$(PACKAGE_NAME)/pixmaps; \ |
38 |
mkdir $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/pixmaps; \ |
42 |
for pixmap in pixmaps/*; do \ |
39 |
for pixmap in pixmaps/*; do \ |
43 |
if test -f $$pixmap; then \ |
40 |
if test -f $$pixmap; then \ |
44 |
cp -p $$pixmap $(datadir)/$(PACKAGE_NAME)/pixmaps; \ |
41 |
cp -p $$pixmap $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/pixmaps; \ |
45 |
fi \ |
42 |
fi \ |
46 |
done \ |
43 |
done \ |
47 |
fi |
44 |
fi |