home *** CD-ROM | disk | FTP | other *** search
Makefile | 2003-12-26 | 1.4 KB | 38 lines |
- # Copyright (C) 2002 Roberto De Leo <deleo@unica.it>
- #
- # This file is free software; as a special exception the author gives
- # unlimited permission to copy and/or distribute it, with or without
- # modifications, as long as this notice is preserved.
- #
- # This program is distributed in the hope that it will be useful, but
- # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
- # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
- SUBDIRS = src scripts
- EXTRA_DIST = README README.de README.fr README.it README.nl \
- README.pt README.pl README.hu README.es \
- mplayer-fonts \
- boot-messages \
- keyboard-i18n \
- backgrounds \
- config/alsaConfig config/dxr3Config config/kernelConfig \
- config/kernelPatches config/mplayerConfig config/sdlConfig
-
- emovix_share_dir = $(DESTDIR)$(datadir)/emovix
-
- dist-hook:
- for i in `find $(distdir) -name CVS` ; do rm -rf $$i; done;
- for i in `find $(distdir) -name .cvsignore` ; do rm -rf $$i; done;
-
- install-data-local:
- cp -a {boot-messages,mplayer-fonts,keyboard-i18n,backgrounds} $(emovix_share_dir)
- @for language in boot-messages/[a-z]? boot-messages/[a-z]?? ; \
- do perl -pw -i -e \
- "s/MoviX +v[\.\w]+/MoviX v$(MOVIX_VERSION)/" \
- $(emovix_share_dir)/$$language/mxhelp.txt ; \
- done;
-
- uninstall-local:
- rmdir --ignore-fail-on-non-empty \
- $(emovix_share_dir)/{boot-messages,mplayer-fonts,keyboard-i18n,backgrounds}
-