Commit 4175a0de authored by Robert Ricci's avatar Robert Ricci
Browse files

Add a 'dist' target to make a distributable tarball

parent dcfb0f28
......@@ -17,3 +17,17 @@ clean: clean-subdirs
@$(MAKE) -C $(dir $@) $(basename $(notdir $@))
%-subdirs: $(addsuffix /%.MAKE,$(SUBDIRS)) ;
# Rules for making a distribution
# Files and directories to exclude
EXCLUDES=CVS stub *.tar.gz supafly $(DISTFILE) *.core .\#* bgmon *.bak \
db doc schedmon iplane parastream .??*
EXCLUDE_TARSTR=$(foreach pat,$(EXCLUDES),--exclude '$(pat)')
$(MAKE) clean
gtar czvf $(DISTFILE) $^ $(EXCLUDE_TARSTR) -C ../ pelab/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment