"Fossies" - the Fresh Open Source Software Archive

Member "regexxer-0.10/Makefile.am" (6 Oct 2011, 5340 Bytes) of package /linux/privat/old/regexxer-0.10.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ## Copyright (c) 2004-2007  Daniel Elstner  <daniel.kitta@gmail.com>
    2 ##
    3 ## This file is part of regexxer.
    4 ##
    5 ## regexxer is free software; you can redistribute it and/or modify
    6 ## it under the terms of the GNU General Public License as published by
    7 ## the Free Software Foundation; either version 2 of the License, or
    8 ## (at your option) any later version.
    9 ##
   10 ## regexxer is distributed in the hope that it will be useful,
   11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
   12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13 ## GNU General Public License for more details.
   14 ##
   15 ## You should have received a copy of the GNU General Public License
   16 ## along with regexxer; if not, write to the Free Software Foundation, Inc.,
   17 ## 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   18 
   19 ## This project does not use recursive make, but a single toplevel Makefile
   20 ## to build the entire tree (excluding the po subdirectory as gettext comes
   21 ## with its own build system).  Read Peter Miller's excellent paper to learn
   22 ## why recursive make invocations are both slow and error-prone:
   23 ## http://members.pcug.org.au/~millerp/rmch/recu-make-cons-harm.html
   24 
   25 AUTOMAKE_OPTIONS = subdir-objects
   26 ACLOCAL_AMFLAGS  = -I m4 ${ACLOCAL_FLAGS}
   27 DISTCHECK_CONFIGURE_FLAGS = --disable-schemas-install --enable-warnings=fatal
   28 
   29 SUBDIRS = po
   30 
   31 bin_PROGRAMS = src/regexxer
   32 
   33 src_regexxer_SOURCES =		\
   34 	src/completionstack.cc \
   35 	src/completionstack.h \
   36 	src/controller.cc	\
   37 	src/controller.h	\
   38 	src/filebuffer.cc	\
   39 	src/filebuffer.h	\
   40 	src/filebufferundo.cc	\
   41 	src/filebufferundo.h	\
   42 	src/fileio.cc		\
   43 	src/fileio.h		\
   44 	src/fileshared.cc	\
   45 	src/fileshared.h	\
   46 	src/filetree.cc		\
   47 	src/filetree.h		\
   48 	src/filetreeprivate.cc	\
   49 	src/filetreeprivate.h	\
   50 	src/globalstrings.h	\
   51 	src/main.cc		\
   52 	src/mainwindow.cc	\
   53 	src/mainwindow.h	\
   54 	src/miscutils.h		\
   55 	src/prefdialog.cc	\
   56 	src/prefdialog.h	\
   57 	src/sharedptr.h		\
   58 	src/signalutils.cc	\
   59 	src/signalutils.h	\
   60 	src/statusline.cc	\
   61 	src/statusline.h	\
   62 	src/stringutils.cc	\
   63 	src/stringutils.h	\
   64 	src/translation.cc	\
   65 	src/translation.h	\
   66 	src/undostack.cc	\
   67 	src/undostack.h		\
   68 	src/settings.h
   69 
   70 nodist_src_regexxer_SOURCES =	\
   71 	ui/stockimages.h
   72 
   73 # The location of the gettext catalogs as defined by intltool.
   74 rxlocaledir = $(prefix)/$(DATADIRNAME)/locale
   75 
   76 global_defs = -DREGEXXER_LOCALEDIR=\""$(rxlocaledir)"\" -DREGEXXER_PKGDATADIR=\""$(pkgdatadir)"\"
   77 AM_CPPFLAGS = $(global_defs) -I$(top_builddir) $(REGEXXER_MODULES_CFLAGS) $(REGEXXER_WARNING_FLAGS)
   78 
   79 src_regexxer_LDADD        = $(REGEXXER_MODULES_LIBS) $(INTLLIBS)
   80 
   81 dist_pkgdata_DATA   = ui/mainwindow.ui ui/prefdialog.ui
   82 
   83 iconthemedir        = $(datadir)/icons/hicolor
   84 appicondir          = $(iconthemedir)/48x48/apps
   85 dist_appicon_DATA   = ui/regexxer.png
   86 
   87 gsettingsschema_in_files    = ui/org.regexxer.gschema.xml.in
   88 gsettingsschema_DATA = ui/org.regexxer.gschema.xml
   89 
   90 desktop_in_files    = ui/regexxer.desktop.in
   91 desktopdir          = $(datadir)/applications
   92 desktop_DATA        = ui/regexxer.desktop
   93 
   94 dist_intltool       = intltool-extract.in intltool-merge.in intltool-update.in
   95 stockimages         = ui/stock_save_all_16.png ui/stock_save_all_24.png
   96 
   97 dist_noinst_DATA    = $(stockimages) $(dist_intltool) $(desktop_in_files) $(gsettingsschema_in_files)
   98 dist_noinst_SCRIPTS = autogen.sh
   99 
  100 BUILT_SOURCES       = $(nodist_src_regexxer_SOURCES)
  101 CLEANFILES          = $(nodist_src_regexxer_SOURCES) $(desktop_DATA) $(gsettingsschema_DATA)
  102 DISTCLEANFILES      = intltool-extract intltool-merge intltool-update
  103 
  104 pixbuf_csource      = $(GDK_PIXBUF_CSOURCE) --raw
  105 update_icon_cache   = $(GTK_UPDATE_ICON_CACHE) --ignore-theme-index --force
  106 
  107 @INTLTOOL_DESKTOP_RULE@
  108 @INTLTOOL_XML_NOMERGE_RULE@
  109 
  110 install-data-hook: install-update-icon-cache
  111 	$(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
  112 #$(gsettingsupdateschemacache) $(gsettingsschemadir)
  113 
  114 uninstall-hook: uninstall-update-icon-cache
  115 
  116 dist-hook: dist-changelog
  117 
  118 # Note that this rule creates the ui/ build directory as a side effect.
  119 # This works just fine because the target is in BUILT_SOURCES and thus
  120 # built before everything else.  Otherwise a special ui/.dirstamp rule
  121 # would be necessary.
  122 ui/stockimages.h: $(stockimages)
  123 	@mkdir ui >/dev/null 2>&1 || test -d ui
  124 	@build_list='--build-list'; \
  125 	list='$(stockimages)'; for file in $$list; do \
  126 	  name=`expr "X/$$file" : '.*[\\/]\([^.]*\)' | sed 'y/-/_/'`; \
  127 	  dir=; test -f "$$file" || dir='$(srcdir)/'; \
  128 	  build_list="$$build_list $$name $$dir$$file"; \
  129 	done; \
  130 	echo " $(pixbuf_csource) $$build_list >$@"; \
  131 	$(pixbuf_csource) $$build_list >$@
  132 
  133 dist-changelog:
  134 	@if test -r "$(top_srcdir)/.git"; then \
  135 	  if git --git-dir="$(top_srcdir)/.git" --work-tree="$(top_srcdir)" \
  136 		log --date=short --pretty='format:%cd  %an  <%ae>%n%n%s%n%n%b%n' \
  137 	  | sed	-e '/^[12]...-[01].-[0123].  [^<>]*  <[^<>]*>$$/,/^$$/ b' \
  138 		-e '/[^	 ]/,/^[	 ]*$$/! d' \
  139 		-e 's/^[	 ]*/	/' \
  140 		-e 's/^[	 ]*$$//' >.ChangeLog.tmp; \
  141 	  then mv -f .ChangeLog.tmp "$(top_distdir)/ChangeLog"; \
  142 	  else rm -f .ChangeLog.tmp; exit 1; fi; \
  143 	fi
  144 install-update-icon-cache:
  145 	@$(POST_INSTALL)
  146 	test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
  147 
  148 uninstall-update-icon-cache:
  149 	@$(POST_UNINSTALL)
  150 	test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
  151 
  152 .PHONY: dist-changelog \
  153 	install-update-icon-cache uninstall-update-icon-cache
  154 
  155 .DELETE_ON_ERROR: