Skip to content

Commit

Permalink
golang: Install files with .cpp/.hpp suffixes by default
Browse files Browse the repository at this point in the history
This also updates the URL for dh-golang.

Signed-off-by: Jeffery To <[email protected]>
  • Loading branch information
jefferyto committed Feb 11, 2019
1 parent 081808c commit a80d54f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lang/golang/golang-package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ include $(GO_INCLUDE_DIR)/golang-values.mk
# files are installed:
#
# * Files with one of these extensions:
# .go, .c, .cc, .h, .hh, .proto, .s
# .go, .c, .cc, .cpp, .h, .hh, .hpp, .proto, .s
#
# * Files in any 'testdata' directory
#
Expand Down Expand Up @@ -77,7 +77,7 @@ include $(GO_INCLUDE_DIR)/golang-values.mk

# Credit for this package build process (GoPackage/Build/Configure and
# GoPackage/Build/Compile) belong to Debian's dh-golang completely.
# https://anonscm.debian.org/cgit/pkg-go/packages/dh-golang.git
# https://salsa.debian.org/go-team/packages/dh-golang


# for building packages, not user code
Expand Down Expand Up @@ -153,7 +153,7 @@ define GoPackage/Build/Configure
sed 's|^\./||') ; \
\
if [ "$(GO_PKG_INSTALL_ALL)" != 1 ]; then \
code=$$$$(echo "$$$$files" | grep '\.\(c\|cc\|go\|h\|hh\|proto\|s\)$$$$') ; \
code=$$$$(echo "$$$$files" | grep '\.\(c\|cc\|cpp\|go\|h\|hh\|hpp\|proto\|s\)$$$$') ; \
testdata=$$$$(echo "$$$$files" | grep '\(^\|/\)testdata/') ; \
\
for pattern in $(GO_PKG_INSTALL_EXTRA); do \
Expand Down

0 comments on commit a80d54f

Please sign in to comment.