postit-debian/debian
Lum 69ec916c4e packaging: derive Debian version from POSTIT_GIT_TAG via a changelog template
The .deb was hardcoded to 1.0.0-1 in debian/changelog regardless of
POSTIT_GIT_TAG, so 'make POSTIT_GIT_TAG=1.0.1-rc01' produced a
postit_1.0.0-1_amd64.deb (wrong name) and the trailing mv into
POSTIT_OUT_DIR silently fell back to the same wrong-name glob.

Move the version into a @VERSION@-bearing debian/changelog.in
template and render debian/changelog from it in the Makefile, before
dpkg-buildpackage runs (it reads debian/changelog during
dpkg-source --before-build, before any rule fires). debian/changelog
is .gitignored; the template is the source of truth.

debian/rules re-renders the changelog as a safety net for direct
dpkg-buildpackage invocations and adds it to override_dh_auto_clean
so partial builds leave no stale rendered file behind.
2026-06-28 13:20:17 +01:00
..
source Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
changelog.in packaging: derive Debian version from POSTIT_GIT_TAG via a changelog template 2026-06-28 13:20:17 +01:00
compat Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
control debian: drop debhelper-compat from Build-Depends (set in compat) 2026-06-28 00:47:30 +01:00
copyright Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
postinst Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
postit.desktop Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
postit.install debian: add postit.install listing files for dh_install 2026-06-28 00:49:14 +01:00
postit.wrapper Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
postrm Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
rules packaging: derive Debian version from POSTIT_GIT_TAG via a changelog template 2026-06-28 13:20:17 +01:00