PACKAGE = Browser VERSION = 0.4.3 SUBDIRS = data include po src tools RM ?= rm -f LN ?= ln -f TAR ?= tar -czvf all: subdirs subdirs: @for i in $(SUBDIRS); do (cd $$i && $(MAKE)) || exit; done clean: @for i in $(SUBDIRS); do (cd $$i && $(MAKE) clean) || exit; done distclean: @for i in $(SUBDIRS); do (cd $$i && $(MAKE) distclean) || exit; done dist: $(RM) -r -- $(PACKAGE)-$(VERSION) $(LN) -s -- . $(PACKAGE)-$(VERSION) @$(TAR) $(PACKAGE)-$(VERSION).tar.gz -- \ $(PACKAGE)-$(VERSION)/data/Makefile \ $(PACKAGE)-$(VERSION)/data/Browser.pc.in \ $(PACKAGE)-$(VERSION)/data/browser.desktop \ $(PACKAGE)-$(VERSION)/data/desktop-settings.desktop \ $(PACKAGE)-$(VERSION)/data/pkgconfig.sh \ $(PACKAGE)-$(VERSION)/data/project.conf \ $(PACKAGE)-$(VERSION)/data/16x16/Makefile \ $(PACKAGE)-$(VERSION)/data/16x16/browser-view-details.png \ $(PACKAGE)-$(VERSION)/data/16x16/browser-view-icons.png \ $(PACKAGE)-$(VERSION)/data/16x16/browser-view-list.png \ $(PACKAGE)-$(VERSION)/data/16x16/project.conf \ $(PACKAGE)-$(VERSION)/include/Browser.h \ $(PACKAGE)-$(VERSION)/include/Makefile \ $(PACKAGE)-$(VERSION)/include/project.conf \ $(PACKAGE)-$(VERSION)/po/Makefile \ $(PACKAGE)-$(VERSION)/po/gettext.sh \ $(PACKAGE)-$(VERSION)/po/POTFILES \ $(PACKAGE)-$(VERSION)/po/de.po \ $(PACKAGE)-$(VERSION)/po/es.po \ $(PACKAGE)-$(VERSION)/po/fr.po \ $(PACKAGE)-$(VERSION)/po/it.po \ $(PACKAGE)-$(VERSION)/po/project.conf \ $(PACKAGE)-$(VERSION)/src/browser.c \ $(PACKAGE)-$(VERSION)/src/callbacks.c \ $(PACKAGE)-$(VERSION)/src/main.c \ $(PACKAGE)-$(VERSION)/src/copy.c \ $(PACKAGE)-$(VERSION)/src/delete.c \ $(PACKAGE)-$(VERSION)/src/desktop.c \ $(PACKAGE)-$(VERSION)/src/desktopicon.c \ $(PACKAGE)-$(VERSION)/src/desktopctl.c \ $(PACKAGE)-$(VERSION)/src/move.c \ $(PACKAGE)-$(VERSION)/src/open.c \ $(PACKAGE)-$(VERSION)/src/properties.c \ $(PACKAGE)-$(VERSION)/src/view.c \ $(PACKAGE)-$(VERSION)/src/Makefile \ $(PACKAGE)-$(VERSION)/src/browser.h \ $(PACKAGE)-$(VERSION)/src/callbacks.h \ $(PACKAGE)-$(VERSION)/src/common.c \ $(PACKAGE)-$(VERSION)/src/desktop.h \ $(PACKAGE)-$(VERSION)/src/desktopicon.h \ $(PACKAGE)-$(VERSION)/src/project.conf \ $(PACKAGE)-$(VERSION)/src/plugins/cvs.c \ $(PACKAGE)-$(VERSION)/src/plugins/dirtree.c \ $(PACKAGE)-$(VERSION)/src/plugins/preview.c \ $(PACKAGE)-$(VERSION)/src/plugins/properties.c \ $(PACKAGE)-$(VERSION)/src/plugins/subversion.c \ $(PACKAGE)-$(VERSION)/src/plugins/template.c \ $(PACKAGE)-$(VERSION)/src/plugins/volumes.c \ $(PACKAGE)-$(VERSION)/src/plugins/Makefile \ $(PACKAGE)-$(VERSION)/src/plugins/project.conf \ $(PACKAGE)-$(VERSION)/tools/dirtree.c \ $(PACKAGE)-$(VERSION)/tools/iconlist.c \ $(PACKAGE)-$(VERSION)/tools/Makefile \ $(PACKAGE)-$(VERSION)/tools/project.conf \ $(PACKAGE)-$(VERSION)/Makefile \ $(PACKAGE)-$(VERSION)/COPYING \ $(PACKAGE)-$(VERSION)/TODO \ $(PACKAGE)-$(VERSION)/config.h \ $(PACKAGE)-$(VERSION)/config.sh \ $(PACKAGE)-$(VERSION)/project.conf $(RM) -- $(PACKAGE)-$(VERSION) install: @for i in $(SUBDIRS); do (cd $$i && $(MAKE) install) || exit; done uninstall: @for i in $(SUBDIRS); do (cd $$i && $(MAKE) uninstall) || exit; done .PHONY: all subdirs clean distclean dist install uninstall