# Process with automake to produce Makefile.in SUBDIRS = bio2jack libOSC libhash libvjmsg libvjmem SUBDIRS += libvevo liblzo libgoom libvje libsample libvjnet libyuv libel libstream liblavjpeg libsamplerec SUBDIRS += veejay #if USE_GVEEJAY #SUBDIRS += gveejay #endif if USE_GVEEJAYRELOADED SUBDIRS += gveejay-reloaded endif SUBDIRS += tools SUBDIRS += man #SUBDIRS = ffmpeg bio2jack libOSC libhash libvjmsg libvjmem libpostproc libvje libsample libvjnet libyuv libel libstream liblavjpeg libsamplerec plugins veejay gveejay tools man #bin_SCRIPTS = veejay-config # # Add any non autoconf'd files here, extra readmes and other misc # info to be copied into the dist # EXTRA_DIST = \ autogen.sh\ depcomp \ cpuinfo.sh \ autogen.sh \ gveejay-paths.sh.in pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = veejay.pc DISTCLEANFILES = \ veejay-config.h \ veejay.pc \ confdefs.h \ config.cache \ config.status \ config.log \ gveejay-paths.h MAINTAINERCLEANFILES = \ compile \ depcomp \ install-sh \ missing \ mkinstalldirs \ Makefile.in \ aclocal.m4 \ config.guess \ config.h.in \ config.sub \ configure \ ltmain.sh \ stamp-h.in ## .glade files must be in same directory as pixmaps ?!! install-data-local: @$(NORMAL_INSTALL) if test -d $(srcdir)/share; then \ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \ for dialog in $(srcdir)/share/*; do \ if test -f $$dialog; then \ $(INSTALL_DATA) $$dialog $(DESTDIR)$(pkgdatadir); \ fi \ done \ fi; \ if test -d $(srcdir)/menu; then \ if test -d /usr/share/applications; then \ for desktop in $(srcdir)/menu/*; do \ if test -f $$desktop; then \ $(INSTALL_DATA) $$desktop /usr/share/applications; \ fi \ done \ fi \ fi; \ if test -d $(srcdir)/share/veejay-logo.png; then \ if test -d /usr/share/pixmaps; then \ $(INSTALL_DATA) $(srcdir)/share/veejay-logo.png /usr/share/pixmaps; \ fi \ fi gveejay-path.h: gveejay-paths.sh @sh $< > $@.tmp ; if cmp -s $@.tmp $@; then rm $@.tmp; else mv $@.tmp $@ ; echo updated gveejay-paths.h; fi dist-hook: rm -f %(distdir)/gveejay-paths.sh \ if test -d share; then \ mkdir $(distdir)/dialogs; \ for dialog in share/*; do \ if test -f $$dialog; then \ cp -p $$dialog $(distdir)/dialogs; \ fi \ done \ fi ## make rpms rpm: Makefile $(MAKE) dist rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz ## make debs deb: Makefile dist -chmod -R +w $(PACKAGE)-$(VERSION) rm -rf $(PACKAGE)-$(VERSION) tar xzf $(PACKAGE)-$(VERSION).tar.gz cd $(PACKAGE)-$(VERSION); dpkg-buildpackage -rfakeroot