summaryrefslogblamecommitdiffstats
path: root/makefile.top.am
blob: fd4f9de556e8e94e2a354e3601457dc541aa1d59 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                                                   
AUTOMAKE_OPTIONS=foreign
SUBDIRS=@the_subdirs@
# When making a distribution we only want to 
# recurse into (any) one single BSP subdir.
DIST_SUBDIRS=@the_distsub@

# The dist-hook then removes this extra
# directory level again.
dist-hook:
	if test "$(PACKAGE_VERSION)" = "untagged" ; then echo "Need tagged version to cut distribution"; exit 1; fi
	cp -frl $(distdir)/$(DIST_SUBDIRS)/* $(distdir)
	rm -fr  $(distdir)/$(DIST_SUBDIRS)