1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
######################################################
#This file is part of MlView
#
#MlView is distributed under the terms of the
#GNU General Public License.
#
#Please look at the file COPYING in the top dir to learn about
#distribution conditions.
######################################################
SUBDIRS= po src tests pixmaps ui schemas menu-descriptions mime application-registry
EXTRA_DIST= COPYRIGHT BRANCHES \
Doxyfile.in \
docs/mlview-internals/src/mlview-internals.xml \
docs/view-system.txt \
docs/coding-standards.txt \
intltool-update.in \
intltool-merge.in \
intltool-extract.in \
intltool-update.in \
intltool-merge.in \
mlview-mdk.spec.in \
mlview.desktop.in
MlViewDesktopFiledir=$(datadir)/applications
MlViewDesktopFile_DATA=mlview.desktop
install-data-local: install-schemas
distclean-local:
-rm intltool-update intltool-merge intltool-extract
uninstall-local: uninstall-schemas
install-schemas:
cd schemas && $(MAKE) $(AM_MAKEFLAGS) install-schemas
uninstall-schemas:
cd schemas && $(MAKE) $(AM_MAKEFLAGS) uninstall-schemas
RPM_ROOT_DIR:=mlview_rpm_root
export RPM_TOP_DIR=$(shell pwd)/$(RPM_ROOT_DIR)
rpm-mdk: dist
if test -d $(RPM_TOP_DIR) ; then rm -rf $(RPM_TOP_DIR) ; fi
mkdir -p $(RPM_TOP_DIR)/SOURCES ; \
mkdir -p $(RPM_TOP_DIR)/BUILD ; \
mkdir -p $(RPM_TOP_DIR)/SRPMS ; \
mkdir -p $(RPM_TOP_DIR)/RPMS ;
mkdir -p $(RPM_TOP_DIR)/tmp ;
cp $(distdir).tar.gz $(RPM_ROOT_DIR)/SOURCES
gunzip $(RPM_ROOT_DIR)/SOURCES/*.tar.gz
bzip2 $(RPM_ROOT_DIR)/SOURCES/*.tar
if test -f $(HOME)/.rpmmacros; then mv $(HOME)/.rpmmacros $(HOME)/.rpmmacros.my.orig ; fi
echo "%_topdir $(RPM_TOP_DIR)" > $(HOME)/.rpmmacros
echo "%prefix $(prefix)" >> $(HOME)/.rpmmacros
echo "%_tmppath $(RPM_TOP_DIR)/tmp" >> $(HOME)/.rpmmacros
echo "%packager Dodji Seketeli <dodji@mlview.org>" >> $(HOME)/.rpmmacros
if test -f $(HOME)/.rpmrc; then mv $(HOME)/.rpmrc $(HOME)/.rpmrc.my.orig ; fi
echo "buildarchtranslate: i386: i586" > $(HOME)/.rpmrc
echo "buildarchtranslate: i486: i586" >> $(HOME)/.rpmrc
echo "buildarchtranslate: i586: i586" >> $(HOME)/.rpmrc
echo "buildarchtranslate: i686: i586" >> $(HOME)/.rpmrc
rpm -v -ba mlview-mdk.spec
if test -f $(HOME)/.rpmmacros.my.orig ; then mv $(HOME)/.rpmmacros.my.orig $(HOME)/.rpmmacros ; fi
if test -f $(HOME)/.rpmrc.my.orig ; then mv $(HOME)/.rpmrc.my.orig $(HOME)/.rpmrc ; fi
apidoc:
-rm -rf
-if ! test -d docs/apis ; then mkdir -p docs/apis ; fi ;
-find ./docs/apis -name "*CVS*" -prune -o -exec rm -rf {} \;
doxygen Doxyfile
ACLOCAL_AMFLAGS = -I m4
|