## Makefile.am for sg

SRC_SUBDIRS = docs examples pixmaps macros zvt src
SUBDIRS = $(SRC_SUBDIRS)

PACKAGE = @PACKAGE@
VERSION = @VERSION@

# require automake 1.4
AUTOMAKE_OPTIONS = 1.4

EXTRA_DIST = \
	TODO \
        FAQ.compile \
        makecopyright \
        sg.spec  \
        sg-mdk.spec  \
        gnome-pty.h  \
        sg.desktop

Applicationsdir = $(datadir)/gnome/apps/Applications
Applications_DATA = sg.desktop

files:
        @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
          echo $$p; \
        done
        @for subdir in $(SUBDIRS); do \
          files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \
          for file in $$files; do \
            echo $$subdir/$$file; \
          done; \
        done

release:
	rm -rf .deps */.deps 
	makecopyright 
	$(MAKE) distcheck 
	mv src/bak/* src/. 
	rm -rf src/bak

snapshot:
        $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`



syntax highlighted by Code2HTML, v. 0.9.1