Добавлен запуск changelog-gen при сборке пакета

This commit is contained in:
Sergey Kalinin 2024-08-22 11:04:37 +03:00
parent 6fc78c75b3
commit 6b5d116743
2 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,9 @@ echo "$VERSION, $RELEASE, $BUILD_DATE"
sed -i "/# Build:.*/c$TXT" projman.tcl sed -i "/# Build:.*/c$TXT" projman.tcl
cp projman.tcl projman cp projman.tcl projman
cp changelog-gen.tcl changelog-gen
PROJECT_NAME=projman PROJECT_VERSION=${VERSION} PROJECT_RELEASE=${RELEASE} ./changelog-gen.tcl DEB
sed -i "s+^set\ dir(lib)+set\ dir(lib)\ /usr/share/projman/lib ;#+g" projman sed -i "s+^set\ dir(lib)+set\ dir(lib)\ /usr/share/projman/lib ;#+g" projman
@ -23,5 +25,5 @@ dpkg-buildpackage -d
#cp ../projman_${VERSION}-${RELEASE}_amd64.deb /files/ #cp ../projman_${VERSION}-${RELEASE}_amd64.deb /files/
rm -v projman rm -v projman changelog-gen
rm -r -v debian/{projman,.debhelper} rm -r -v debian/{projman,.debhelper}

1
debian/install vendored
View File

@ -1,4 +1,5 @@
projman /usr/bin/ projman /usr/bin/
changelog-gen /usr/bin/
lib/*.tcl /usr/share/projman/lib lib/*.tcl /usr/share/projman/lib
lib/msgs/* /usr/share/projman/lib/msgs lib/msgs/* /usr/share/projman/lib/msgs
theme /usr/share/projman/ theme /usr/share/projman/