| 1 |
SUBDIRS = doc src
|
| 2 |
|
| 3 |
imagesdir = $(DESTDIR)/$(sysconfdir)/splashy/themes
|
| 4 |
schemasdir = $(DESTDIR)/$(datadir)/splashy/schemas
|
| 5 |
scriptsdir = $(sysconfdir)/init.d
|
| 6 |
|
| 7 |
scripts_DATA = scripts/splashy-init
|
| 8 |
|
| 9 |
# we point to /usr/share/splashy ...
|
| 10 |
install-data-hook:
|
| 11 |
if test '!' -d $(DESTDIR)/$(sysconfdir)/splashy; then \
|
| 12 |
$(mkinstalldirs) $(DESTDIR)/$(sysconfdir)/splashy; \
|
| 13 |
chmod 755 $(DESTDIR)/$(sysconfdir)/splashy; \
|
| 14 |
fi
|
| 15 |
if test '!' -d $(imagesdir); then \
|
| 16 |
$(mkinstalldirs) $(imagesdir); \
|
| 17 |
chmod 755 $(imagesdir); \
|
| 18 |
fi
|
| 19 |
if test '!' -d $(schemasdir)/splashy/schemas; then \
|
| 20 |
$(mkinstalldirs) $(schemasdir)/splashy/schemas; \
|
| 21 |
chmod 755 $(schemasdir)/splashy/schemas; \
|
| 22 |
fi
|
| 23 |
cp -r themes/default/ $(imagesdir)
|
| 24 |
cp -r themes/kubuntusplashy/ $(imagesdir)
|
| 25 |
cp -r themes/debian3/ $(imagesdir)
|
| 26 |
cp -r themes/debiansplashy/ $(imagesdir)
|
| 27 |
cp -r themes/ubuntusplashy/ $(imagesdir)
|
| 28 |
cp -r themes/crux/ $(imagesdir)
|
| 29 |
cp -r themes/debian4/ $(imagesdir)
|
| 30 |
cp -r schemas/ $(schemasdir)/splashy/schemas/
|
| 31 |
|
| 32 |
uninstall-hook:
|
| 33 |
rm -fr $(imagesdir)/default \
|
| 34 |
$(imagesdir)/kubuntusplashy \
|
| 35 |
$(imagesdir)/debian3 \
|
| 36 |
$(imagesdir)/debiansplashy \
|
| 37 |
$(imagesdir)/ubuntusplashy \
|
| 38 |
$(imagesdir)/crux \
|
| 39 |
$(imagesdir)/debian4 \
|
| 40 |
$(datadir)/splashy/schemas
|
| 41 |
|
| 42 |
EXTRA_DIST = autogen.sh $(images_DATA) $(scripts_DATA) \
|
| 43 |
directfb-config splashy.spec \
|
| 44 |
initramfs/hooks/splashy \
|
| 45 |
initramfs/scripts/init-top/splashy \
|
| 46 |
themes/default/background.jpg \
|
| 47 |
themes/default/error.jpg \
|
| 48 |
themes/default/theme.xml \
|
| 49 |
themes/default/FreeSans.ttf \
|
| 50 |
themes/kubuntusplashy/theme.xml \
|
| 51 |
themes/kubuntusplashy/README \
|
| 52 |
themes/kubuntusplashy/shutdown.jpg \
|
| 53 |
themes/kubuntusplashy/background.jpg \
|
| 54 |
themes/kubuntusplashy/error.jpg \
|
| 55 |
themes/debian3/error.jpg \
|
| 56 |
themes/debian3/theme.xml \
|
| 57 |
themes/debian3/README \
|
| 58 |
themes/debian3/background.jpg \
|
| 59 |
themes/debiansplashy/theme.xml \
|
| 60 |
themes/debiansplashy/README \
|
| 61 |
themes/debiansplashy/shutdown.jpg \
|
| 62 |
themes/debiansplashy/background.jpg \
|
| 63 |
themes/debiansplashy/error.jpg \
|
| 64 |
themes/ubuntusplashy/theme.xml \
|
| 65 |
themes/ubuntusplashy/README \
|
| 66 |
themes/ubuntusplashy/shutdown.jpg \
|
| 67 |
themes/ubuntusplashy/background.jpg \
|
| 68 |
themes/ubuntusplashy/error.jpg \
|
| 69 |
themes/crux/theme.xml \
|
| 70 |
themes/crux/error.jpg \
|
| 71 |
themes/crux/shutdown.jpg \
|
| 72 |
themes/crux/background.jpg \
|
| 73 |
themes/debian4/theme.xml \
|
| 74 |
themes/debian4/error.jpg \
|
| 75 |
themes/debian4/shutdown.jpg \
|
| 76 |
themes/debian4/README \
|
| 77 |
themes/debian4/background.jpg \
|
| 78 |
schemas/theme.xsd \
|
| 79 |
schemas/theme.xsl
|