SHELL=/bin/bash SUBDIRS=qastrolib qastrocam doc #SUBDIRS+=alignlib qastrostack qastroscope all:: Makefile.vars for i in $(SUBDIRS) ; do $(MAKE) -C $$i || exit 1; done full:: all install:: all for i in $(SUBDIRS); do $(MAKE) -C $$i install TARBALLS= ; done iconsDir="$(DESTDIR)/share/qastrocam/icons"; install -d "$$iconsDir"; install icons/*.png "$$iconsDir" release:: $(MAKE) all OPTFLAGS="-O3" clean::Makefile.vars $(MAKE) -C qastrolib clean $(MAKE) -C qastrocam clean $(MAKE) -C qastroscope clean rm -f configure config.cache config.h.in distclean:: (test -f Makefile.vars && $(MAKE) clean ) || true rm -f Makefile.vars configure rm -f config.h config.log depend dep::Makefile.vars $(MAKE) -C qastrolib depend $(MAKE) -C qastrocam depend $(MAKE) -C qastroscope depend package::release #fakeroot ./debian/rules binary strip bin/* || true #ln -sf `ldd bin/qastrocam | egrep "libqt|libSDL" | sed "s/[ ][ ]*/ /g" | cut -f 4 -d" "` bin dir=`basename $$PWD`;cd ..; rm -f $$dir/$$dir.tgz;tar --exclude CVS -chvzf $$dir/$$dir.tgz $$dir/{icons,bin,doc} commit:: cvs update vi qastrocam/qastrocamVersion.hpp $(MAKE) all cvs commit Makefile.vars: Makefile.vars.in configure config.h.in @$(MAKE) show-avaible-arch configure: configure.in config.h.in rm -fr autom4te.cache autoconf rm -fr autom4te.cache config.h.in: configure.in rm -f config.h.in autoheader deb:: dpkg-buildpackage -rfakeroot include Makefile.arch # DO NOT DELETE