Files
ortools-clone/makefiles/Makefile.archive.mk

274 lines
14 KiB
Makefile
Raw Normal View History

archive: $(INSTALL_DIR)$(ARCHIVE_EXT)
$(INSTALL_DIR)$(ARCHIVE_EXT): $(LIB_DIR)$S$(LIB_PREFIX)ortools.$L create_dirs cc_archive dotnet_archive java_archive $(PATCHELF)
2018-02-22 16:27:48 +01:00
ifeq ($(SYSTEM),win)
cd temp && ..$Stools$Szip.exe -r ..$S$(INSTALL_DIR).zip $(INSTALL_DIR)
2016-07-03 15:24:34 +02:00
else
2016-07-22 15:56:22 -07:00
ifeq ($(PLATFORM),LINUX)
tools/fix_libraries_on_linux.sh
2016-09-13 16:33:08 +02:00
else
$(COPY) tools/install_libortools_mac.sh temp/$(INSTALL_DIR)
chmod 775 temp/$(INSTALL_DIR)/install_libortools_mac.sh
cd temp/$(INSTALL_DIR) && ./install_libortools_mac.sh && rm install_libortools_mac.sh
2016-07-22 15:56:22 -07:00
endif
cd temp && tar -c -v -z --no-same-owner -f ..$S$(INSTALL_DIR).tar.gz $(INSTALL_DIR)
endif
2016-07-01 15:29:57 +00:00
-$(DELREC) temp
create_dirs:
-$(DELREC) temp
$(MKDIR) temp
$(MKDIR) temp$S$(INSTALL_DIR)
$(MKDIR) temp$S$(INSTALL_DIR)$Slib
$(MKDIR) temp$S$(INSTALL_DIR)$Sobjs
$(MKDIR) temp$S$(INSTALL_DIR)$Sbin
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools$Salgorithms
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sbase
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sconstraint_solver
2017-11-24 10:45:36 +01:00
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sdata
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sgflags
2017-05-23 18:28:20 +02:00
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sglog
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sbop
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sglop
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sgoogle
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sgraph
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools$Slinear_solver
2017-06-30 12:08:02 +02:00
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools$Slp_data
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sport
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools$Ssat
$(MKDIR) temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sutil
$(MKDIR) temp$S$(INSTALL_DIR)$Sexamples
$(MKDIR) temp$S$(INSTALL_DIR)$Sexamples$Scpp
$(MKDIR) temp$S$(INSTALL_DIR)$Sexamples$Scsharp
$(MKDIR) temp$S$(INSTALL_DIR)$Sexamples$Scsharp$Ssolution
$(MKDIR) temp$S$(INSTALL_DIR)$Sexamples$Scsharp$Ssolution$SProperties
$(MKDIR) temp$S$(INSTALL_DIR)$Sexamples$Scom
$(MKDIR) temp$S$(INSTALL_DIR)$Sexamples$Scom$Sgoogle
$(MKDIR) temp$S$(INSTALL_DIR)$Sexamples$Scom$Sgoogle$Sortools
$(MKDIR) temp$S$(INSTALL_DIR)$Sexamples$Scom$Sgoogle$Sortools$Ssamples
2017-09-11 15:45:25 +02:00
$(MKDIR) temp$S$(INSTALL_DIR)$Sexamples$Sfsharp
2017-10-02 15:44:38 +02:00
$(MKDIR) temp$S$(INSTALL_DIR)$Sexamples$Sfsharp$Slib
$(MKDIR) temp$S$(INSTALL_DIR)$Sexamples$Snetstandard
2016-07-01 15:29:57 +00:00
#credits
$(COPY) LICENSE-2.0.txt temp$S$(INSTALL_DIR)
$(COPY) tools$SREADME.cc.java.csharp temp$S$(INSTALL_DIR)$SREADME
$(COPY) tools$SMakefile.cc temp$S$(INSTALL_DIR)$SMakefile
create_data_dirs:
-$(DELREC) temp_data
$(MKDIR) temp_data
$(MKDIR) temp_data$S$(INSTALL_DIR)
$(MKDIR) temp_data$S$(INSTALL_DIR)$Sexamples
$(MKDIR) temp_data$S$(INSTALL_DIR)$Sexamples$Sdata
$(MKDIR) temp_data$S$(INSTALL_DIR)$Sexamples$Sdata$Set_jobshop
$(MKDIR) temp_data$S$(INSTALL_DIR)$Sexamples$Sdata$Sflexible_jobshop
$(MKDIR) temp_data$S$(INSTALL_DIR)$Sexamples$Sdata$Sjobshop
$(MKDIR) temp_data$S$(INSTALL_DIR)$Sexamples$Sdata$Smultidim_knapsack
$(MKDIR) temp_data$S$(INSTALL_DIR)$Sexamples$Sdata$Scvrptw
$(MKDIR) temp_data$S$(INSTALL_DIR)$Sexamples$Sdata$Spdptw
$(MKDIR) temp_data$S$(INSTALL_DIR)$Sexamples$Sdata$Sfill_a_pix
$(MKDIR) temp_data$S$(INSTALL_DIR)$Sexamples$Sdata$Sminesweeper
$(MKDIR) temp_data$S$(INSTALL_DIR)$Sexamples$Sdata$Srogo
$(MKDIR) temp_data$S$(INSTALL_DIR)$Sexamples$Sdata$Ssurvo_puzzle
$(MKDIR) temp_data$S$(INSTALL_DIR)$Sexamples$Sdata$Squasigroup_completion
$(MKDIR) temp_data$S$(INSTALL_DIR)$Sexamples$Sdata$Sdiscrete_tomography
$(COPY) LICENSE-2.0.txt temp_data$S$(INSTALL_DIR)
data_archive: $(INSTALL_DIR)_data$(ARCHIVE_EXT)
$(INSTALL_DIR)_data$(ARCHIVE_EXT): create_data_dirs
2018-02-22 16:27:48 +01:00
ifeq ($(SYSTEM),win)
tools$Star.exe -c -v --exclude *svn* --exclude *roadef* --exclude *vector_packing* --exclude *nsplib* examples\\data | tools$Star.exe xvm -C temp_data\\$(INSTALL_DIR)
cd temp_data && ..$Stools$Szip.exe -r ..$S$(INSTALL_DIR)_data.zip $(INSTALL_DIR)
else
tar -c -v --exclude *svn* --exclude *roadef* --exclude *vector_packing* --exclude *nsplib* examples/data | tar xvm -C temp_data/$(INSTALL_DIR)
cd temp_data && tar -c -v -z --no-same-owner -f ..$S$(INSTALL_DIR)_data.tar.gz $(INSTALL_DIR)
endif
-$(DELREC) temp_data
cc_archive: cc
$(COPY) $(LIB_DIR)$S$(LIB_PREFIX)cvrptw_lib.$L temp$S$(INSTALL_DIR)$Slib
$(COPY) $(LIB_DIR)$S$(LIB_PREFIX)dimacs.$L temp$S$(INSTALL_DIR)$Slib
$(COPY) $(LIB_DIR)$S$(LIB_PREFIX)ortools.$L temp$S$(INSTALL_DIR)$Slib
$(COPY) $(LIB_DIR)$S$(LIB_PREFIX)fap.$L temp$S$(INSTALL_DIR)$Slib
$(COPY) examples$Scpp$S*.cc temp$S$(INSTALL_DIR)$Sexamples$Scpp
$(COPY) examples$Scpp$S*.h temp$S$(INSTALL_DIR)$Sexamples$Scpp
$(COPY) ortools$Salgorithms$S*.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Salgorithms
$(COPY) ortools$Sbase$S*.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sbase
$(COPY) ortools$Sconstraint_solver$S*.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sconstraint_solver
$(COPY) ortools$Sgen$Sortools$Sconstraint_solver$S*.pb.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sconstraint_solver
2017-11-24 10:45:36 +01:00
$(COPY) ortools$Sdata$S*.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sdata
$(COPY) ortools$Sgen$Sortools$Sdata$S*.pb.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sdata
$(COPY) ortools$Sbop$S*.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sbop
$(COPY) ortools$Sgen$Sortools$Sbop$S*.pb.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sbop
$(COPY) ortools$Sglop$S*.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sglop
$(COPY) ortools$Sgen$Sortools$Sglop$S*.pb.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sglop
$(COPY) ortools$Sgraph$S*.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sgraph
$(COPY) ortools$Sgen$Sortools$Sgraph$S*.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sgraph
$(COPY) ortools$Slinear_solver$S*.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Slinear_solver
2017-06-30 12:08:02 +02:00
$(COPY) ortools$Slp_data$S*.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Slp_data
$(COPY) ortools$Sgen$Sortools$Slinear_solver$S*.pb.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Slinear_solver
$(COPY) ortools$Sport$S*.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sport
$(COPY) ortools$Ssat$S*.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Ssat
$(COPY) ortools$Sgen$Sortools$Ssat$S*.pb.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Ssat
$(COPY) ortools$Sutil$S*.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sutil
$(COPY) ortools$Sgen$Sortools$Sutil$S*.pb.h temp$S$(INSTALL_DIR)$Sinclude$Sortools$Sutil
2018-02-22 16:27:48 +01:00
ifeq ($(SYSTEM),win)
2017-10-31 09:58:07 +01:00
$(COPY) tools$Smake.exe temp$S$(INSTALL_DIR)
cd temp$S$(INSTALL_DIR)$Sinclude && ..$S..$S..$Stools$Star.exe -C ..$S..$S..$Sdependencies$Sinstall$Sinclude -c -v gflags | ..$S..$S..$Stools$Star.exe xvm
2017-05-23 18:28:20 +02:00
cd temp$S$(INSTALL_DIR)$Sinclude && ..$S..$S..$Stools$Star.exe -C ..$S..$S..$Sdependencies$Sinstall$Sinclude -c -v glog | ..$S..$S..$Stools$Star.exe xvm
cd temp$S$(INSTALL_DIR)$Sinclude && ..$S..$S..$Stools$Star.exe -C ..$S..$S..$Sdependencies$Sinstall$Sinclude -c -v google | ..$S..$S..$Stools$Star.exe xvm
else
cd temp$S$(INSTALL_DIR)$Sinclude && tar -C ..$S..$S..$Sdependencies$Sinstall$Sinclude -c -v gflags | tar xvm
2017-05-23 18:28:20 +02:00
cd temp$S$(INSTALL_DIR)$Sinclude && tar -C ..$S..$S..$Sdependencies$Sinstall$Sinclude -c -v glog | tar xvm
cd temp$S$(INSTALL_DIR)$Sinclude && tar -C ..$S..$S..$Sdependencies$Sinstall$Sinclude -c -v google | tar xvm
endif
dotnet_archive: csharp
2016-09-29 18:50:59 +02:00
$(COPY) bin$SGoogle.Protobuf.dll temp$S$(INSTALL_DIR)$Sbin
2017-04-21 16:41:23 +02:00
$(COPY) bin$S$(CLR_ORTOOLS_DLL_NAME).dll temp$S$(INSTALL_DIR)$Sbin
$(COPY) examples$Scsharp$S*.cs temp$S$(INSTALL_DIR)$Sexamples$Scsharp
2017-10-02 15:44:38 +02:00
$(COPY) examples$Sfsharp$S*fsx temp$S$(INSTALL_DIR)$Sexamples$Sfsharp
$(COPY) examples$Sfsharp$SREADME.md temp$S$(INSTALL_DIR)$Sexamples$Sfsharp
$(COPY) examples$Scsharp$Ssolution$SProperties$S*.cs temp$S$(INSTALL_DIR)$Sexamples$Scsharp$Ssolution$SProperties
-$(COPY) examples$Sfsharp$Slib$S* temp$S$(INSTALL_DIR)$Sexamples$Sfsharp$Slib
2018-02-22 16:27:48 +01:00
ifeq ($(SYSTEM),win)
2016-12-12 14:36:04 +00:00
$(COPY) examples$Scsharp$SCsharp_examples.sln temp$S$(INSTALL_DIR)$Sexamples$Scsharp
$(COPY) examples$Scsharp$Ssolution$S*.csproj temp$S$(INSTALL_DIR)$Sexamples$Scsharp$Ssolution
$(COPY) examples$Scsharp$Ssolution$Sapp.config temp$S$(INSTALL_DIR)$Sexamples$Scsharp$Ssolution
else
2017-04-21 16:41:23 +02:00
$(COPY) lib$Slib$(CLR_ORTOOLS_DLL_NAME).so temp$S$(INSTALL_DIR)$Sbin
endif
netstandard_archive: NET_STANDARD_EXAMPLES = $(wildcard examples/csharp/*.cs)
netstandard_archive: netstandard_example_archive
$(COPY) bin$S$(NETSTANDARD_ORTOOLS_DLL_NAME).dll temp$S$(INSTALL_DIR)$Sbin$S
$(COPY) bin$S$(NETSTANDARD_ORTOOLS_IMPORT_DLL_NAME).$(SWIG_DOTNET_LIB_SUFFIX) temp$S$(INSTALL_DIR)$Sbin$S
$(COPY) bin$S$(NETSTANDARD_ORTOOLS_DLL_NAME).$(OR_TOOLS_VERSION).nupkg temp$S$(INSTALL_DIR)$Sbin$S
$(COPY) tools$SREADME.netstandard temp$S$(INSTALL_DIR)$Sexamples$Snetstandard
2018-02-22 16:27:48 +01:00
netstandard_example_archive:
$(foreach file, $(NET_STANDARD_EXAMPLES), $(call netstandard_example_archive_copy,$(file))) :
2018-02-22 16:27:48 +01:00
define netstandard_example_archive_copy
$(MKDIR_P) temp$S$(INSTALL_DIR)$Sexamples$Snetstandard$S$(basename $(notdir $(1))) &&\
$(COPY) tools$Snetstandard$Snuget.config temp$S$(INSTALL_DIR)$Sexamples$Snetstandard$S$(basename $(notdir $(1))) &&\
$(COPY) tools$Snetstandard$Sexample.csproj temp$S$(INSTALL_DIR)$Sexamples$Snetstandard$S$(basename $(notdir $(1))) &&\
$(COPY) examples$Scsharp$S$(notdir $(1)) temp$S$(INSTALL_DIR)$Sexamples$Snetstandard$S$(basename $(notdir $(1)))$S &&
endef
java_archive: java
$(COPY) lib$S*.jar temp$S$(INSTALL_DIR)$Slib
$(COPY) lib$S$(LIB_PREFIX)jni*.$(JNI_LIB_EXT) temp$S$(INSTALL_DIR)$Slib
$(COPY) examples$Scom$Sgoogle$Sortools$Ssamples$S*.java temp$S$(INSTALL_DIR)$Sexamples$Scom$Sgoogle$Sortools$Ssamples
2016-07-03 15:24:34 +02:00
2017-01-25 20:29:08 +00:00
TEMP_FZ_DIR = temp_fz
fz_archive: cc fz
2017-01-25 20:29:08 +00:00
-$(DELREC) $(TEMP_FZ_DIR)
mkdir $(TEMP_FZ_DIR)
mkdir $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)
mkdir $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)$Sbin
mkdir $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)$Slib
mkdir $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)$Sshare
mkdir $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)$Sshare$Sminizinc_cp
mkdir $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)$Sshare$Sminizinc_sat
mkdir $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)$Sexamples
$(COPY) LICENSE-2.0.txt $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)
$(COPY) bin$Sfz$E $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)$Sbin$Sfzn-or-tools$E
$(COPY) $(LIB_DIR)$S$(LIB_PREFIX)ortools.$L $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)$Slib
$(COPY) $(LIB_DIR)$S$(LIB_PREFIX)fz.$L $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)$Slib
$(COPY) ortools$Sflatzinc$Smznlib_cp$S* $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)$Sshare$Sminizinc_cp
$(COPY) ortools$Sflatzinc$Smznlib_sat$S* $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)$Sshare$Sminizinc_sat
2017-01-25 20:29:08 +00:00
$(COPY) examples$Sflatzinc$S* $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)$Sexamples
2018-02-22 16:27:48 +01:00
ifeq ($(SYSTEM),win)
2017-01-25 20:29:08 +00:00
cd $(TEMP_FZ_DIR) && ..$Stools$Szip.exe -r ..$S$(FZ_INSTALL_DIR).zip $(FZ_INSTALL_DIR)
else
2016-08-19 15:23:27 +02:00
ifeq ($(PLATFORM),LINUX)
2017-01-25 20:29:08 +00:00
$(DEP_BIN_DIR)$Spatchelf --set-rpath '$$ORIGIN/../lib' $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)$Sbin$Sfzn-or-tools
2016-08-19 15:23:27 +02:00
endif
2016-08-19 14:24:11 +02:00
ifeq ($(PLATFORM),MACOSX)
2017-01-25 20:29:08 +00:00
$(COPY) tools$Sfix_fz_libraries_on_mac.sh $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)
chmod u+x $(TEMP_FZ_DIR)/$(FZ_INSTALL_DIR)$Sfix_fz_libraries_on_mac.sh
cd $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR) && .$Sfix_fz_libraries_on_mac.sh
$(RM) $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)$Sfix_fz_libraries_on_mac.sh
2016-08-19 14:24:11 +02:00
endif
2017-01-25 20:29:08 +00:00
cd $(TEMP_FZ_DIR) && tar cvzf ..$S$(FZ_INSTALL_DIR).tar.gz $(FZ_INSTALL_DIR)
endif
2017-01-25 20:29:08 +00:00
-$(DELREC) $(TEMP_FZ_DIR)
2016-07-25 18:37:18 +02:00
test_archive: $(INSTALL_DIR)$(ARCHIVE_EXT)
-$(DELREC) temp
$(MKDIR) temp
#this is to make sure the archive tests don't use the root libraries
$(RENAME) lib lib2
2018-02-22 16:27:48 +01:00
ifeq ($(SYSTEM),win)
2016-07-22 20:43:23 +02:00
tools$Sunzip.exe $(INSTALL_DIR).zip -d temp
else
tar -x -v -f $(INSTALL_DIR).tar.gz -C temp
endif
cd temp$S$(INSTALL_DIR) && $(MAKE) test && cd ../.. && $(RENAME) lib2 lib && echo "archive test succeeded" || ( cd ../.. && $(RENAME) lib2 lib && echo "archive test failed" && exit 1)
2016-08-19 14:24:11 +02:00
TEMP_FZ_TEST_DIR = temp_fz_test
2016-08-19 14:24:11 +02:00
test_fz_archive: $(FZ_INSTALL_DIR)$(ARCHIVE_EXT)
2017-01-25 20:29:08 +00:00
-$(DELREC) $(TEMP_FZ_TEST_DIR)
$(MKDIR) $(TEMP_FZ_TEST_DIR)
2016-08-19 14:24:11 +02:00
#this is to make sure the archive tests don't use the root libraries
$(RENAME) lib lib2
2018-02-22 16:27:48 +01:00
ifeq ($(SYSTEM),win)
2017-01-25 20:29:08 +00:00
tools$Sunzip.exe $(FZ_INSTALL_DIR).zip -d $(TEMP_FZ_TEST_DIR)
2016-08-19 14:24:11 +02:00
else
2017-01-25 20:29:08 +00:00
tar -x -v -f $(FZ_INSTALL_DIR).tar.gz -C $(TEMP_FZ_TEST_DIR)
2016-08-19 14:24:11 +02:00
endif
2017-01-25 20:29:08 +00:00
cd $(TEMP_FZ_TEST_DIR)$S$(FZ_INSTALL_DIR) && .$Sbin$S$(FZ_EXE) examples$Scircuit_test.fzn && cd ../.. && $(RENAME) lib2 lib && echo "fz archive test succeeded" || ( cd ../.. && $(RENAME) lib2 lib && echo "fz archive test failed" && exit 1)
ifeq "$(PYTHON3)" "true"
build_release: clean python test_python
pre_release: pypi_archive
2016-09-20 15:54:58 +02:00
release: pypi_upload
else #platform check
2018-02-22 16:27:48 +01:00
ifeq ($(SYSTEM),win)
ifeq "$(VISUAL_STUDIO_YEAR)" "2013"
build_release: clean all test
pre_release: archive test_archive
release:
else
ifeq "$(VISUAL_STUDIO_YEAR)" "2015"
build_release: clean all test fz
pre_release: archive test_archive fz_archive test_fz_archive python_examples_archive pypi_archive nuget_archive
2016-09-16 14:56:21 +02:00
release: pypi_upload nuget_upload
endif #ifeq "$(VISUAL_STUDIO_YEAR)" "2015"
endif # ifeq"$(VISUAL_STUDIO_YEAR)" "2013"
else # unix
ifeq "$(PLATFORM)" "LINUX"
ifeq "$(DISTRIBUTION_NUMBER)" "14.04"
build_release: clean all test fz
pre_release: archive test_archive fz_archive test_fz_archive python_examples_archive pypi_archive
release: pypi_upload
2017-04-21 16:41:23 +02:00
else
2016-11-04 03:52:04 -07:00
ifeq "$(DISTRIBUTION_NUMBER)" "16.04"
2016-09-20 15:54:58 +02:00
build_release: clean all test fz
pre_release: archive test_archive fz_archive test_fz_archive
release:
endif # ifeq "$(DISTRIBUTION_NUMBER)" "16.04"
endif # ifeq "$(DISTRIBUTION_NUMBER)" "14.04"
endif # ifeq "$(PLATFORM)" "LINUX"
ifeq "$(PLATFORM)" "MACOSX"
build_release: clean all test fz
pre_release: archive test_archive fz_archive test_fz_archive pypi_archive
release: pypi_upload
endif #ifeq "$(PLATFORM)" "MACOSX"
2018-02-22 16:27:48 +01:00
endif #ifeq ($(SYSTEM),win)
2017-04-21 16:41:23 +02:00
endif #ifeq "$(PYTHON3)" "true"