This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add headers and source to build target (#1336)
Signed-off-by: David P. Chassin <[email protected]> Signed-off-by: David P. Chassin <[email protected]>
- Loading branch information
Showing
5 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ | |
# Authors: | ||
# DP Chassin ([email protected]) | ||
|
||
.SILENT: | ||
|
||
$(info Current target is $(shell $(top_srcdir)/build-aux/version.sh --name)) | ||
|
||
# !!! must match version specified in configure.ac | ||
|
@@ -50,13 +52,15 @@ AM_LDFLAGS += -module | |
AM_LDFLAGS += -avoid-version | ||
AM_LDFLAGS += -export-dynamic | ||
AM_LDFLAGS += $(GLD_LDFLAGS) -lpython$(PYVER) | ||
AM_LIBTOOLFLAGS = --quiet | ||
|
||
# makefile fragments populate these variables | ||
BUILT_SOURCES = | ||
CLEANFILES = | ||
EXTRA_DIST = | ||
dist_pkgdata_DATA = requirements.txt | ||
pkgdata_DATA = | ||
pkginclude_HEADERS = | ||
noinst_LTLIBRARIES = | ||
pkglib_LTLIBRARIES = | ||
bin_PROGRAMS = | ||
|
@@ -291,11 +295,18 @@ $(PREFIX)/docker.img: docker/Dockerfile Makefile | |
@mkdir -p $(prefix) | ||
docker save $(PACKAGE)/$(PACKAGE_VERSION)-$(PACKAGE_BRANCH):latest -o $(prefix)/docker.img | ||
|
||
system: python-install install | ||
system: python-install install $(prefix)/src | ||
@echo "Setting $$($(top_srcdir)/build-aux/version.sh --install) to the current system version" | ||
@$(prefix)/bin/gridlabd version set | ||
@test "$$(gridlabd --version=install)" = "$$($(top_srcdir)/build-aux/version.sh --install)" || echo 'WARNING : build and install versions differ; use build `--clean` option to fix this problem' | ||
|
||
$(prefix)/src: | ||
@echo Copying source files to $@... | ||
@mkdir -p $(prefix)/src/source $(prefix)/src/python | ||
@cp $(top_srcdir)/source/*.cpp $(prefix)/src/source | ||
@cp $(top_srcdir)/python/*.cpp $(prefix)/src/python | ||
@chmod -R 555 $(prefix)/src | ||
|
||
index: weather library template | ||
|
||
html-local: module-html developer-html troubleshooting-html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters