Bas Couwenberg pushed to branch master at Debian GIS Project / pktools


Commits:
f60e6b8a by Bas Couwenberg at 2023-08-13T09:08:43+02:00
Remove generated files in clean target.

- - - - -


3 changed files:

- debian/changelog
- + debian/clean
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -3,6 +3,7 @@ pktools (2.6.7.6+ds-5) UNRELEASED; urgency=medium
   * Bump Standards-Version to 4.6.2, no changes.
   * Update URLs to use HTTPS.
   * Bump debhelper compat to 13.
+  * Remove generated files in clean target.
 
  -- Bas Couwenberg <[email protected]>  Wed, 18 Jan 2023 17:06:20 +0100
 


=====================================
debian/clean
=====================================
@@ -0,0 +1 @@
+debian/man/*.1


=====================================
debian/rules
=====================================
@@ -27,25 +27,22 @@ MANPAGES:=$(wildcard debian/man/*.*.xml)
        dh $@ --buildsystem cmake \
              --with pkgkde_symbolshelper
 
+execute_before_dh_auto_clean:
+       find $(CURDIR) -name '*.o' -delete
+       find $(CURDIR) -name '*.so*' -delete
+       find $(CURDIR) -name '*.a' -delete
+
 override_dh_auto_configure:
        dh_auto_configure -- -DBUILD_WITH_FANN=ON \
                             -DBUILD_SHARED_LIBS=ON \
                             
-DINSTALL_LIBRARY_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)
 
-override_dh_clean:
-       dh_clean debian/man/*.1
-       find $(CURDIR) -name '*.o' -delete
-       find $(CURDIR) -name '*.so*' -delete
-       find $(CURDIR) -name '*.a' -delete
-
-override_dh_auto_build:
+execute_before_dh_auto_build:
        # Create man pages from DocBook XML
        for x in $(MANPAGES) ; do \
          docbook2x-man --string-param header-3="$(BUILD_DATE)" $$x ; \
          mv `basename $$x | sed 's/.xml$$//'` `dirname $$x` ; \
        done
 
-       dh_auto_build
-
 override_dh_makeshlibs:
        dh_makeshlibs -- -v$(UPSTREAM_VERSION) -c0



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/pktools/-/commit/f60e6b8af42d54aafbdc75adc9cdf6cb0d327a99

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/pktools/-/commit/f60e6b8af42d54aafbdc75adc9cdf6cb0d327a99
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to