Debian: copy de modified build.go to the src folder in _build

I _believe_ this is the folder that Debian actually compiles, not the
top level.
This commit is contained in:
jordi fita mas 2024-01-19 23:54:32 +01:00
parent b28f29eb24
commit 61fc8ee255
1 changed files with 1 additions and 0 deletions

1
debian/rules vendored
View File

@ -7,6 +7,7 @@ include /usr/share/dpkg/pkg-info.mk
execute_before_dh_auto_build: execute_before_dh_auto_build:
printf 'package pkg\n\nconst Version = "%s"\n' "$(DEB_VERSION_UPSTREAM)" > pkg/build.go printf 'package pkg\n\nconst Version = "%s"\n' "$(DEB_VERSION_UPSTREAM)" > pkg/build.go
cp pkg/build.go _build/src/dev.tandem.ws/tandem/numerus/pkg/build.go
make make
execute_after_dh_auto_test: execute_after_dh_auto_test: