Skip to content

Commit

Permalink
+ Include binary files in the distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
wireddown committed Oct 5, 2014
1 parent 0c96579 commit 18eebf2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packager/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
VIKIT_TARBALL := VIKit.tar.gz
VIKIT_STAGING_DIR := VIKit
VIKIT_LIB_DIR := VIKit
VIKIT_BIN_DIR := bin

SOURCE_FILES := \
../source/c/VIQueryVersion.c \
Expand Down Expand Up @@ -31,6 +32,10 @@ $(VIKIT_TARBALL): $(SOURCE_FILES) $(LABVIEW_FILES) $(PATCH_FILES)
@cp $(SOURCE_FILES) $(VIKIT_STAGING_DIR)
@cp $(LABVIEW_FILES) $(VIKIT_STAGING_DIR)/$(VIKIT_LIB_DIR)
@patch $(VIKIT_STAGING_DIR)/$(VIKIT_LIB_DIR)/platdefines.h < $(AddMinGWSupport)
@cd $(VIKIT_STAGING_DIR) && make
@mkdir $(VIKIT_STAGING_DIR)/$(VIKIT_BIN_DIR)
@mv $(VIKIT_STAGING_DIR)/*.exe $(VIKIT_STAGING_DIR)/$(VIKIT_BIN_DIR)
@mv $(VIKIT_STAGING_DIR)/*.dll $(VIKIT_STAGING_DIR)/$(VIKIT_BIN_DIR)
tar -czvf $(VIKIT_TARBALL) $(VIKIT_LIB_DIR)

.PHONY: clean
Expand Down

0 comments on commit 18eebf2

Please sign in to comment.