"Fossies" - the Fresh Open Source Software Archive

Member "gfsview-snapshot-121130/Makefile.am" (30 Nov 2012, 3034 Bytes) of package /linux/privat/gfsview-snapshot-121130.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 ## Process this file with automake to produce Makefile.in
    2 
    3 ACLOCAL_AMFLAGS = -I m4
    4 
    5 # change this to your OSC directory
    6 OSC_DIR=$(HOME)/local/src/osc/home:popinet/$(PACKAGE)-snapshot
    7 
    8 # change this to your dput command
    9 DPUT = socksify dput
   10 
   11 # change this to your launchpad PPA
   12 # configured in ~/.dput.cf
   13 PPA = gerris-ppa
   14 
   15 # change this to the ID of the PPA GPG key
   16 KEY = 07AB22DC
   17 
   18 # change this to the html changelog for this launchpad release
   19 LOG = /var/www/gerris/version/gfsview_changes
   20 
   21 if HAVE_OSMESA
   22   BATCH = batch
   23 endif
   24 
   25 if HAVE_GTK
   26   INTERACTIVE = view
   27 endif
   28 
   29 SUBDIRS = gl2ps gl $(BATCH) $(INTERACTIVE) debian
   30 
   31 EXTRA_DIST = \
   32 	autogen.sh \
   33 	gl2ps/COPYING.GL2PS \
   34 	gl2ps/COPYING.LGPL \
   35 	m4
   36 
   37 if DARCS_CONTROLLED
   38 DARCS_CHANGELOG = changelog
   39 else
   40 DARCS_CHANGELOG = 
   41 endif
   42 
   43 install-data-local:
   44 	@$(NORMAL_INSTALL)
   45 	if test -d $(srcdir)/pixmaps; then \
   46 	  $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/pixmaps; \
   47 	  for pixmap in $(srcdir)/pixmaps/*; do \
   48 	    if test -f $$pixmap; then \
   49 	      $(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgdatadir)/pixmaps; \
   50 	    fi \
   51 	  done \
   52 	fi; \
   53 	if test -d $(srcdir)/fonts; then \
   54 	  $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/fonts; \
   55 	  for font in $(srcdir)/fonts/*; do \
   56 	    if test -f $$font; then \
   57 	      $(INSTALL_DATA) $$font $(DESTDIR)$(pkgdatadir)/fonts; \
   58 	    fi \
   59 	  done \
   60 	fi
   61 
   62 dist-hook:
   63 	if test -d pixmaps; then \
   64 	  mkdir $(distdir)/pixmaps; \
   65 	  for pixmap in pixmaps/*; do \
   66 	    if test -f $$pixmap; then \
   67 	      cp -p $$pixmap $(distdir)/pixmaps; \
   68 	    fi \
   69 	  done \
   70 	fi; \
   71 	if test -d fonts; then \
   72 	  mkdir $(distdir)/fonts; \
   73 	  for font in fonts/*; do \
   74 	    if test -f $$font; then \
   75 	      cp -p $$font $(distdir)/fonts; \
   76 	    fi \
   77 	  done \
   78 	fi
   79 
   80 ChangeLog: $(DARCS_CHANGELOG)
   81 
   82 changelog:
   83 	darcs changes > ChangeLog
   84 
   85 debian-snapshot: $(DARCS_CHANGELOG) config.h
   86 	sh debian/changelog.sh
   87 	dpkg-buildpackage -rfakeroot -b
   88 	rm -f debian/repo/*
   89 	mv -f ../*.changes ../*.deb debian/repo
   90 	cd debian/repo && dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
   91 
   92 launchpad-snapshot: $(DARCS_CHANGELOG) config.h dist
   93 	tar xzf gfsview-?.?.?.tar.gz
   94 	cd gfsview-?.?.? && ./configure && sh debian/changelog.sh $(LOG) && chmod +x debian/rules && dpkg-buildpackage -rfakeroot -k$(KEY) -S -sa
   95 	rm -f gfsview-?.?.?.tar.gz
   96 	rm -r -f gfsview-?.?.?
   97 	$(DPUT) $(PPA) gfsview-snapshot_*_source.changes
   98 	rm -f gfsview-snapshot_*
   99 
  100 buildservice-snapshot: $(DARCS_CHANGELOG) config.h dist
  101 	tar xzf $(PACKAGE)-?.?.?.tar.gz
  102 	rm -f $(PACKAGE)-?.?.?.tar.gz
  103 	mv -f $(PACKAGE)-?.?.? $(PACKAGE)-snapshot
  104 	cd $(PACKAGE)-snapshot && ./configure && sh debian/changelog.sh $(LOG) && chmod +x debian/rules && make distclean
  105 	tar czvf $(PACKAGE)-snapshot.tar.gz $(PACKAGE)-snapshot
  106 	dpkg-source -b $(PACKAGE)-snapshot
  107 	rm -r -f $(PACKAGE)-snapshot
  108 	cd $(OSC_DIR) && osc update && rm -f $(OSC_DIR)/*
  109 	cp -f rpm/$(PACKAGE).spec $(OSC_DIR)
  110 	mv -f $(PACKAGE)-snapshot.tar.gz $(PACKAGE)-snapshot_*.tar.gz $(PACKAGE)-snapshot_*.dsc $(OSC_DIR)
  111 	cd $(OSC_DIR) && osc addremove && osc commit -m "snapshot release"