[PATCH 1/2] wmbattery: Add config.h.in to `make distclean`.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
Its absence created a problem for the Debian package.  During the build,
dh_auto_clean results in a call to autoheader, which creates config.h.in.  If
this isn't then removed, we get a dpkg-source error.

Obtained from [1].

[1] https://sources.debian.net/src/wmbattery/2.48-1/debian/patches/clean_config.h.in.patch/
---
 wmbattery/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/wmbattery/Makefile b/wmbattery/Makefile
index a789c50..864e1c8 100644
--- a/wmbattery/Makefile
+++ b/wmbattery/Makefile
@@ -6,7 +6,8 @@ clean:
 	rm -f wmbattery *.o
 
 distclean: clean
-	rm -f config.status config.cache config.log makeinfo config.h configure
+	rm -f config.status config.cache config.log makeinfo config.h \
+		config.h.in configure
 
 install: all
 	$(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(icondir)
-- 
2.1.4


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.