1 # Makefile.in generated by automake 1.11 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 pkgdatadir = $(datadir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkglibexecdir = $(libexecdir)/@PACKAGE@
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23 install_sh_DATA = $(install_sh) -c -m 644
24 install_sh_PROGRAM = $(install_sh) -c
25 install_sh_SCRIPT = $(install_sh) -c
26 INSTALL_HEADER = $(INSTALL_DATA)
27 transform = $(program_transform_name)
35 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
36 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
37 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
38 depcomp install-sh missing mkinstalldirs
39 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40 am__aclocal_m4_deps = $(top_srcdir)/configure.in
41 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
44 configure.lineno config.status.lineno
45 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
46 CONFIG_HEADER = config.h
48 CONFIG_CLEAN_VPATH_FILES =
51 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
52 html-recursive info-recursive install-data-recursive \
53 install-dvi-recursive install-exec-recursive \
54 install-html-recursive install-info-recursive \
55 install-pdf-recursive install-ps-recursive install-recursive \
56 installcheck-recursive installdirs-recursive pdf-recursive \
57 ps-recursive uninstall-recursive
58 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
59 distclean-recursive maintainer-clean-recursive
60 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
61 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
62 distdir dist dist-all distcheck
65 DIST_SUBDIRS = $(SUBDIRS)
66 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
67 distdir = $(PACKAGE)-$(VERSION)
68 top_distdir = $(distdir)
69 am__remove_distdir = \
70 { test ! -d "$(distdir)" \
71 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
72 && rm -fr "$(distdir)"; }; }
75 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
76 sed_rest='s,^[^/]*/*,,'; \
77 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
78 sed_butlast='s,/*[^/]*$$,,'; \
79 while test -n "$$dir1"; do \
80 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
81 if test "$$first" != "."; then \
82 if test "$$first" = ".."; then \
83 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
84 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
86 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
87 if test "$$first2" = "$$first"; then \
88 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
92 dir0="$$dir0"/"$$first"; \
95 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
98 DIST_ARCHIVES = $(distdir).tar.gz
100 distuninstallcheck_listfiles = find . -type f -print
101 distcleancheck_listfiles = find . -type f -print
104 AUTOCONF = @AUTOCONF@
105 AUTOHEADER = @AUTOHEADER@
106 AUTOMAKE = @AUTOMAKE@
108 CATALOGS = @CATALOGS@
109 CATOBJEXT = @CATOBJEXT@
111 CCDEPMODE = @CCDEPMODE@
114 CPPFLAGS = @CPPFLAGS@
115 CYGPATH_W = @CYGPATH_W@
116 DATADIRNAME = @DATADIRNAME@
124 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
125 GMOFILES = @GMOFILES@
129 INSTALL_DATA = @INSTALL_DATA@
130 INSTALL_PROGRAM = @INSTALL_PROGRAM@
131 INSTALL_SCRIPT = @INSTALL_SCRIPT@
132 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
133 INSTOBJEXT = @INSTOBJEXT@
134 INTLLIBS = @INTLLIBS@
138 LTLIBOBJS = @LTLIBOBJS@
140 MAKEINFO = @MAKEINFO@
142 MKINSTALLDIRS = @MKINSTALLDIRS@
144 MSGFMT_OPTS = @MSGFMT_OPTS@
147 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
148 PACKAGE_CFLAGS = @PACKAGE_CFLAGS@
149 PACKAGE_LIBS = @PACKAGE_LIBS@
150 PACKAGE_NAME = @PACKAGE_NAME@
151 PACKAGE_STRING = @PACKAGE_STRING@
152 PACKAGE_TARNAME = @PACKAGE_TARNAME@
153 PACKAGE_VERSION = @PACKAGE_VERSION@
154 PATH_SEPARATOR = @PATH_SEPARATOR@
155 PKG_CONFIG = @PKG_CONFIG@
158 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
159 PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
161 SET_MAKE = @SET_MAKE@
166 XGETTEXT = @XGETTEXT@
167 abs_builddir = @abs_builddir@
168 abs_srcdir = @abs_srcdir@
169 abs_top_builddir = @abs_top_builddir@
170 abs_top_srcdir = @abs_top_srcdir@
171 ac_ct_CC = @ac_ct_CC@
172 am__include = @am__include@
173 am__leading_dot = @am__leading_dot@
174 am__quote = @am__quote@
176 am__untar = @am__untar@
178 build_alias = @build_alias@
179 builddir = @builddir@
181 datarootdir = @datarootdir@
184 exec_prefix = @exec_prefix@
185 host_alias = @host_alias@
187 includedir = @includedir@
189 install_sh = @install_sh@
191 libexecdir = @libexecdir@
192 localedir = @localedir@
193 localstatedir = @localstatedir@
196 oldincludedir = @oldincludedir@
199 program_transform_name = @program_transform_name@
202 sharedstatedir = @sharedstatedir@
204 sysconfdir = @sysconfdir@
205 target_alias = @target_alias@
206 top_build_prefix = @top_build_prefix@
207 top_builddir = @top_builddir@
208 top_srcdir = @top_srcdir@
212 xournal.glade xournal.gladep \
213 xournal.xml x-xoj.desktop xournal.desktop
216 $(MAKE) $(AM_MAKEFLAGS) all-recursive
221 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
223 case '$(am__configure_deps)' in \
225 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
226 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
231 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
232 $(am__cd) $(top_srcdir) && \
233 $(AUTOMAKE) --gnu Makefile
235 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
238 echo ' $(SHELL) ./config.status'; \
239 $(SHELL) ./config.status;; \
241 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
242 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
245 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
246 $(SHELL) ./config.status --recheck
248 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
249 $(am__cd) $(srcdir) && $(AUTOCONF)
250 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
251 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
252 $(am__aclocal_m4_deps):
255 @if test ! -f $@; then \
257 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
260 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
262 cd $(top_builddir) && $(SHELL) ./config.status config.h
263 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
264 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
269 -rm -f config.h stamp-h1
271 # This directory's subdirectories are mostly independent; you can cd
272 # into them and run `make' without going through this Makefile.
273 # To change the values of `make' variables: instead of editing Makefiles,
274 # (1) if the variable is set in `config.status', edit `config.status'
275 # (which will cause the Makefiles to be regenerated when you run `make');
276 # (2) otherwise, pass the desired values on the `make' command line.
277 $(RECURSIVE_TARGETS):
279 for f in x $$MAKEFLAGS; do \
282 *k*) failcom='fail=yes';; \
286 target=`echo $@ | sed s/-recursive//`; \
287 list='$(SUBDIRS)'; for subdir in $$list; do \
288 echo "Making $$target in $$subdir"; \
289 if test "$$subdir" = "."; then \
291 local_target="$$target-am"; \
293 local_target="$$target"; \
295 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
298 if test "$$dot_seen" = "no"; then \
299 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
302 $(RECURSIVE_CLEAN_TARGETS):
304 for f in x $$MAKEFLAGS; do \
307 *k*) failcom='fail=yes';; \
312 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
313 *) list='$(SUBDIRS)' ;; \
315 rev=''; for subdir in $$list; do \
316 if test "$$subdir" = "."; then :; else \
317 rev="$$subdir $$rev"; \
321 target=`echo $@ | sed s/-recursive//`; \
322 for subdir in $$rev; do \
323 echo "Making $$target in $$subdir"; \
324 if test "$$subdir" = "."; then \
325 local_target="$$target-am"; \
327 local_target="$$target"; \
329 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
331 done && test -z "$$fail"
333 list='$(SUBDIRS)'; for subdir in $$list; do \
334 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
337 list='$(SUBDIRS)'; for subdir in $$list; do \
338 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
341 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
342 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
343 unique=`for i in $$list; do \
344 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
346 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
347 END { if (nonempty) { for (i in files) print i; }; }'`; \
351 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
352 $(TAGS_FILES) $(LISP)
355 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
356 include_option=--etags-include; \
359 include_option=--include; \
362 list='$(SUBDIRS)'; for subdir in $$list; do \
363 if test "$$subdir" = .; then :; else \
364 test ! -f $$subdir/TAGS || \
365 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
368 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
369 unique=`for i in $$list; do \
370 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
372 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
373 END { if (nonempty) { for (i in files) print i; }; }'`; \
375 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
376 test -n "$$unique" || unique=$$empty_fix; \
377 if test $$# -gt 0; then \
378 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
381 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
386 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
387 $(TAGS_FILES) $(LISP)
388 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
389 unique=`for i in $$list; do \
390 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
392 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
393 END { if (nonempty) { for (i in files) print i; }; }'`; \
394 test -z "$(CTAGS_ARGS)$$unique" \
395 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
399 here=`$(am__cd) $(top_builddir) && pwd` \
400 && $(am__cd) $(top_srcdir) \
401 && gtags -i $(GTAGS_ARGS) "$$here"
404 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
406 distdir: $(DISTFILES)
407 $(am__remove_distdir)
408 test -d "$(distdir)" || mkdir "$(distdir)"
409 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
410 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
411 list='$(DISTFILES)'; \
412 dist_files=`for file in $$list; do echo $$file; done | \
413 sed -e "s|^$$srcdirstrip/||;t" \
414 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
415 case $$dist_files in \
416 */*) $(MKDIR_P) `echo "$$dist_files" | \
417 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
420 for file in $$dist_files; do \
421 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
422 if test -d $$d/$$file; then \
423 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
424 if test -d "$(distdir)/$$file"; then \
425 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
427 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
428 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
429 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
431 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
433 test -f "$(distdir)/$$file" \
434 || cp -p $$d/$$file "$(distdir)/$$file" \
438 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
439 if test "$$subdir" = .; then :; else \
440 test -d "$(distdir)/$$subdir" \
441 || $(MKDIR_P) "$(distdir)/$$subdir" \
445 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
446 if test "$$subdir" = .; then :; else \
447 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
449 new_distdir=$$reldir; \
450 dir1=$$subdir; dir2="$(top_distdir)"; \
452 new_top_distdir=$$reldir; \
453 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
454 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
455 ($(am__cd) $$subdir && \
456 $(MAKE) $(AM_MAKEFLAGS) \
457 top_distdir="$$new_top_distdir" \
458 distdir="$$new_distdir" \
459 am__remove_distdir=: \
460 am__skip_length_check=: \
461 am__skip_mode_fix=: \
466 $(MAKE) $(AM_MAKEFLAGS) \
467 top_distdir="$(top_distdir)" distdir="$(distdir)" \
469 -test -n "$(am__skip_mode_fix)" \
470 || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
471 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
472 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
473 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
474 || chmod -R a+r "$(distdir)"
476 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
477 $(am__remove_distdir)
480 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
481 $(am__remove_distdir)
484 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
485 $(am__remove_distdir)
488 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
489 $(am__remove_distdir)
492 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
493 $(am__remove_distdir)
496 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
497 $(am__remove_distdir)
500 -rm -f $(distdir).zip
501 zip -rq $(distdir).zip $(distdir)
502 $(am__remove_distdir)
504 dist dist-all: distdir
505 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
506 $(am__remove_distdir)
508 # This target untars the dist file and tries a VPATH configuration. Then
509 # it guarantees that the distribution is self-contained by making another
512 case '$(DIST_ARCHIVES)' in \
514 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
516 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
518 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
520 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
522 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
524 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
526 unzip $(distdir).zip ;;\
528 chmod -R a-w $(distdir); chmod a+w $(distdir)
529 mkdir $(distdir)/_build
530 mkdir $(distdir)/_inst
532 test -d $(distdir)/_build || exit 0; \
533 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
534 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
536 && $(am__cd) $(distdir)/_build \
537 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
538 $(DISTCHECK_CONFIGURE_FLAGS) \
539 && $(MAKE) $(AM_MAKEFLAGS) \
540 && $(MAKE) $(AM_MAKEFLAGS) dvi \
541 && $(MAKE) $(AM_MAKEFLAGS) check \
542 && $(MAKE) $(AM_MAKEFLAGS) install \
543 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
544 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
545 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
547 && chmod -R a-w "$$dc_install_base" \
549 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
550 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
551 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
552 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
553 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
554 } || { rm -rf "$$dc_destdir"; exit 1; }) \
555 && rm -rf "$$dc_destdir" \
556 && $(MAKE) $(AM_MAKEFLAGS) dist \
557 && rm -rf $(DIST_ARCHIVES) \
558 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
561 $(am__remove_distdir)
562 @(echo "$(distdir) archives ready for distribution: "; \
563 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
564 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
566 @$(am__cd) '$(distuninstallcheck_dir)' \
567 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
568 || { echo "ERROR: files left after uninstall:" ; \
569 if test -n "$(DESTDIR)"; then \
570 echo " (check DESTDIR support)"; \
572 $(distuninstallcheck_listfiles) ; \
574 distcleancheck: distclean
575 @if test '$(srcdir)' = . ; then \
576 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
579 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
580 || { echo "ERROR: files left in build directory after distclean:" ; \
581 $(distcleancheck_listfiles) ; \
584 check: check-recursive
585 all-am: Makefile config.h
586 installdirs: installdirs-recursive
588 install: install-recursive
589 install-exec: install-exec-recursive
590 install-data: install-data-recursive
591 uninstall: uninstall-recursive
594 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
596 installcheck: installcheck-recursive
598 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
599 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
600 `test -z '$(STRIP)' || \
601 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
607 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
608 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
610 maintainer-clean-generic:
611 @echo "This command is intended for maintainers to use"
612 @echo "it deletes files that may require special tools to rebuild."
613 clean: clean-recursive
615 clean-am: clean-generic mostlyclean-am
617 distclean: distclean-recursive
618 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
620 distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
634 install-data-am: install-data-local
636 install-dvi: install-dvi-recursive
642 install-html: install-html-recursive
646 install-info: install-info-recursive
652 install-pdf: install-pdf-recursive
656 install-ps: install-ps-recursive
662 maintainer-clean: maintainer-clean-recursive
663 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
664 -rm -rf $(top_srcdir)/autom4te.cache
666 maintainer-clean-am: distclean-am maintainer-clean-generic
668 mostlyclean: mostlyclean-recursive
670 mostlyclean-am: mostlyclean-generic
682 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
683 ctags-recursive install-am install-strip tags-recursive
685 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
686 all all-am am--refresh check check-am clean clean-generic \
687 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
688 dist-hook dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
689 distcheck distclean distclean-generic distclean-hdr \
690 distclean-tags distcleancheck distdir distuninstallcheck dvi \
691 dvi-am html html-am info info-am install install-am \
692 install-data install-data-am install-data-local install-dvi \
693 install-dvi-am install-exec install-exec-am install-html \
694 install-html-am install-info install-info-am install-man \
695 install-pdf install-pdf-am install-ps install-ps-am \
696 install-strip installcheck installcheck-am installdirs \
697 installdirs-am maintainer-clean maintainer-clean-generic \
698 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
699 tags-recursive uninstall uninstall-am
704 if test -d $(srcdir)/pixmaps; then \
705 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/pixmaps; \
706 for pixmap in $(srcdir)/pixmaps/*; do \
707 if test -f $$pixmap; then \
708 $(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgdatadir)/pixmaps; \
712 if test -d $(srcdir)/html-doc; then \
713 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/html-doc; \
714 for docfile in $(srcdir)/html-doc/*; do \
715 if test -f $$docfile; then \
716 $(INSTALL_DATA) $$docfile $(DESTDIR)$(pkgdatadir)/html-doc; \
719 if test ! -e $(DESTDIR)$(pkgdatadir)/html-doc/pixmaps; then \
720 ln -s ../pixmaps $(DESTDIR)$(pkgdatadir)/html-doc/pixmaps; \
723 echo "*** Desktop files, icons, MIME types not installed. Run 'make desktop-install'"; \
724 echo "*** (or 'make home-desktop-install' for installation in a home directory)."
727 if test "$(datadir)" = "/usr/share"; then \
728 desktopdir=/usr/share; \
730 desktopdir=/usr/local/share; \
732 $(mkinstalldirs) $(DESTDIR)$$desktopdir/icons/hicolor/scalable/apps; \
733 $(mkinstalldirs) $(DESTDIR)$$desktopdir/icons/hicolor/scalable/mimetypes; \
734 $(mkinstalldirs) $(DESTDIR)$$desktopdir/mime/packages; \
735 $(mkinstalldirs) $(DESTDIR)$$desktopdir/applications; \
736 $(mkinstalldirs) $(DESTDIR)/usr/share/mimelnk/application; \
737 $(INSTALL_DATA) $(srcdir)/pixmaps/xournal.svg $(DESTDIR)$$desktopdir/icons/hicolor/scalable/apps; \
738 $(INSTALL_DATA) $(srcdir)/pixmaps/xoj.svg $(DESTDIR)$$desktopdir/icons/hicolor/scalable/mimetypes; \
739 if test ! -e $(DESTDIR)$$desktopdir/icons/hicolor/scalable/mimetypes/gnome-mime-application-x-xoj.svg; then \
740 ln -s xoj.svg $(DESTDIR)$$desktopdir/icons/hicolor/scalable/mimetypes/gnome-mime-application-x-xoj.svg; \
742 $(INSTALL_DATA) $(srcdir)/xournal.xml $(DESTDIR)$$desktopdir/mime/packages; \
743 $(INSTALL_DATA) $(srcdir)/xournal.desktop $(DESTDIR)$$desktopdir/applications; \
744 $(INSTALL_DATA) $(srcdir)/x-xoj.desktop $(DESTDIR)/usr/share/mimelnk/application; \
745 if test -z "$(DESTDIR)"; then \
746 echo "Updating desktop, mime, and icon databases."; \
747 update-desktop-database; \
748 update-mime-database $$desktopdir/mime; \
749 gtk-update-icon-cache -f -t $$desktopdir/icons/hicolor; \
751 echo "*** Not updating desktop, mime, and icon databases. After install, run:"; \
752 echo "*** update-desktop-database"; \
753 echo "*** update-mime-database $$desktopdir/mime"; \
754 echo "*** gtk-update-icon-cache -f -t $$desktopdir/icons/hicolor"; \
757 home-desktop-install:
758 desktopdir=$(HOME)/.local/share; \
759 $(mkinstalldirs) $(DESTDIR)$$desktopdir/icons/hicolor/scalable/apps; \
760 $(mkinstalldirs) $(DESTDIR)$$desktopdir/icons/hicolor/scalable/mimetypes; \
761 $(mkinstalldirs) $(DESTDIR)$$desktopdir/mime/packages; \
762 $(mkinstalldirs) $(DESTDIR)$$desktopdir/applications; \
763 $(mkinstalldirs) $(DESTDIR)$(HOME)/.kde/share/mimelnk/application; \
764 $(INSTALL_DATA) $(srcdir)/pixmaps/xournal.svg $(DESTDIR)$$desktopdir/icons/hicolor/scalable/apps; \
765 $(INSTALL_DATA) $(srcdir)/pixmaps/xoj.svg $(DESTDIR)$$desktopdir/icons/hicolor/scalable/mimetypes; \
766 if test ! -e $(DESTDIR)$$desktopdir/icons/hicolor/scalable/mimetypes/gnome-mime-application-x-xoj.svg; then \
767 ln -s xoj.svg $(DESTDIR)$$desktopdir/icons/hicolor/scalable/mimetypes/gnome-mime-application-x-xoj.svg; \
769 $(INSTALL_DATA) $(srcdir)/xournal.xml $(DESTDIR)$$desktopdir/mime/packages; \
770 $(INSTALL_DATA) $(srcdir)/xournal.desktop $(DESTDIR)$$desktopdir/applications; \
771 $(INSTALL_DATA) $(srcdir)/x-xoj.desktop $(DESTDIR)$(HOME)/.kde/share/mimelnk/application; \
772 if test -z "$(DESTDIR)"; then \
773 echo "Updating desktop, mime, and icon databases."; \
774 XDG_DATA_DIRS=$(HOME)/.local/share update-desktop-database; \
775 update-mime-database $$desktopdir/mime; \
776 gtk-update-icon-cache -f -t $$desktopdir/icons/hicolor; \
778 echo "*** Not updating desktop, mime, and icon databases. After install, run:"; \
779 echo "*** update-desktop-database"; \
780 echo "*** update-mime-database $$desktopdir/mime"; \
781 echo "*** gtk-update-icon-cache -f -t $$desktopdir/icons/hicolor"; \
785 if test -d pixmaps; then \
786 mkdir $(distdir)/pixmaps; \
787 for pixmap in pixmaps/*; do \
788 if test -f $$pixmap; then \
789 cp -p $$pixmap $(distdir)/pixmaps; \
793 if test -d html-doc; then \
794 mkdir $(distdir)/html-doc; \
795 for docfile in html-doc/*; do \
796 if test -f $$docfile; then \
797 cp -p $$docfile $(distdir)/html-doc; \
800 if test ! -e $(distdir)/html-doc/pixmaps; then \
801 ln -s ../pixmaps $(distdir)/html-doc/pixmaps; \
805 # Tell versions [3.59,3.63) of GNU make to not export all variables.
806 # Otherwise a system limit (for SysV at least) may be exceeded.