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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
|
# $Id$
MAINTAINERCLEANFILES = \
COPYING \
INSTALL \
config/ltmain.sh \
doxygen.cfg \
config/config.guess \
config/config.sub \
config/ltmain.sh \
config/install-sh \
config/mkinstalldirs \
config/aclocal.m4 \
config/missing \
config/texinfo.tex \
config/depcomp \
aclocal.m4 \
config.h.in \
configure \
stamp-h.in \
Makefile.in \
config.log \
config.status \
.doc_stamp \
.DS_Store
DISTCLEANFILES = \
org.synfig.SynfigStudio.desktop \
$(appdata_DATA)
if WITH_IMAGES
IMAGE_DIR = images
endif
#if WITH_SOUNDS
SOUND_DIR = sounds
#endif
SUBDIRS = \
build_tools \
brushes \
src \
$(IMAGE_DIR) \
$(SOUND_DIR) \
plugins \
po \
test
EXTRA_DIST = \
COPYING \
TODO \
m4/subs.m4 \
doxygen.cfg.in \
doxygen.cfg \
macosxbuild.sh \
config/package \
config/depcomp \
m4/cxx_macros.m4 \
m4/ETL.m4 \
ChangeLog.old \
org.synfig.SynfigStudio.desktop.in \
org.synfig.SynfigStudio.appdata.xml.in \
org.synfig.SynfigStudio.xml.in \
synfigstudio-thumbnailer.schemas.in
DISTCHECK_CONFIGURE_FLAGS = --disable-update-mimedb
# Desktop entry
desktopdir = $(prefix)/share/applications
desktop_DATA = org.synfig.SynfigStudio.desktop
@INTLTOOL_DESKTOP_RULE@
mimeinfodir = $(datadir)/mime-info
mimeinfo_DATA = synfigstudio.keys synfigstudio.mime
# Appdata
appdatadir = $(datadir)/appdata
appdata_DATA = org.synfig.SynfigStudio.appdata.xml
@INTLTOOL_XML_RULE@
mimedir = $(datadir)/mime/packages
mime_DATA = org.synfig.SynfigStudio.xml
ACLOCAL_AMFLAGS=-I m4
GREP=grep
PRINTF=printf
SH=sh
DOXYGEN=doxygen
ChangeLog:
cd $(top_srcdir) && ../autobuild/git2cl > ChangeLog
stats:
-@echo
-@echo -- Stats
-@echo
-@$(PRINTF) "Total lines: "
-@wc -l `shell find $(top_srcdir)/src -name '*.[ch]*' | $(GREP) -v libavcodec` | $(GREP) total
-@$(PRINTF) "Total size: "
-@du -hcs `shell find $(top_srcdir)/src -name '*.[ch]*' | $(GREP) -v libavcodec` | $(GREP) total
-@echo
listfixmes:
-@echo
-@echo -- List of pending FIXMEs
-@echo
-@$(GREP) FIXME -n `shell find $(top_srcdir) -name '*.[ch]*' | grep -v .git`
-@echo
listhacks:
-@echo
-@echo -- List of pending HACKs
-@echo
-@$(GREP) HACK -n `shell find $(top_srcdir) -name '*.[ch]*' | grep -v .git`
-@echo
run: check
.doc_stamp: doxygen.cfg
$(DOXYGEN) doxygen.cfg
touch .doc_stamp
package-osx: all pkg-info/macosx/synfig-studio.info
[ -d pkg_root ] && $(RMDIR) pkg_root || true
convert images/installer_logo_osx.png $(srcdir)/pkg-info/macosx/studio-resources/background.tif
make install prefix="`pwd`/pkg_root"
$(srcdir)/config/package pkg_root pkg-info/macosx/synfig-studio.info -r $(srcdir)/pkg-info/macosx/studio-resources
if MACOSX_PKG
package: package-osx
endif
install-data-hook:
if ENABLE_UPDATE_MIMEDB
$(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
endif
uninstall-hook:
if ENABLE_UPDATE_MIMEDB
$(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
endif
html: .doc_stamp
rtf: .doc_stamp
docs: pdf html
.PHONY: stats listfixmes listhacks check docs pdf html rtf
|