Skip to content

Commit

Permalink
dist: move contrib/windows to EXTRA_DIST
Browse files Browse the repository at this point in the history
So that this entire directory can actually get copied in the tarball
  • Loading branch information
bgoglin committed Mar 17, 2014
1 parent 7180b7f commit a24a596
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ pkgconfig_DATA = hwloc.pc
endif
endif

# Only install the valgrind suppressions and visual studio files if we're building in standalone mode
# Only install the valgrind suppressions file if we're building in standalone mode
if HWLOC_BUILD_STANDALONE
dist_pkgdata_DATA = contrib/hwloc-valgrind.supp contrib/windows
dist_pkgdata_DATA = contrib/hwloc-valgrind.supp
endif

#
Expand All @@ -41,6 +41,11 @@ EXTRA_DIST = \
config/hwloc_get_version.sh \
config/distscript.csh

# Only install entire visual studio subdirectory if we're building in standalone mode
if HWLOC_BUILD_STANDALONE
EXTRA_DIST += contrib/windows
endif

if HWLOC_BUILD_STANDALONE
dist-hook:
csh "$(top_srcdir)/config/distscript.csh" "$(top_srcdir)" "$(distdir)" "$(HWLOC_VERSION)"
Expand Down

0 comments on commit a24a596

Please sign in to comment.