add dist target

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1816 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1999-07-13 04:10:37 +00:00
parent 82aa33ce2d
commit ac0807ca72
2 changed files with 7 additions and 2 deletions

View File

@ -23,6 +23,7 @@ MOTIF_OBJS += $(addprefix obj/motif/,${MOTIF_SRCS:.c=.o})
QT_OBJS := $(addprefix obj/qt/,${COMMON_SRCS:.c=.o})
QT_OBJS += $(addprefix obj/qt/,${QT_SRCS:.cpp=.o})
CFLAGS += -pg
ifdef GNOME_CONFIG_BIN
GNOME_CFLAGS += $(shell ${GNOME_CONFIG_BIN} --cflags gnomeui)
@ -30,6 +31,7 @@ endif
QT_FLAGS :=
%.c : %.h
# Basically take the output foo.d file and put it in the right
@ -93,7 +95,10 @@ distclean: clean-files
rm -f $(foreach f,$(wildcard *.in),$(filter-out configure,$(f:.in=)))
-rm -rf ${DIST_TRASH}
.PHONY: clean clean-files distclean
dist:
$(foreach dir,${CLEAN_SUBDIRS},(cd ${dir} && $(MAKE) dist);)
.PHONY: clean clean-files dist distclean
# Get dependencies (if existent).

View File

@ -194,7 +194,7 @@ install:
# done
.PHONY: default install-private install motif motif-static gnome gnome-static qt
.PHONY: depend clean distclean
.PHONY: depend dist clean distclean
# Local Variables:
# tab-width: 2