Skip to content

Commit dfb16c8

Browse files
committed
d/rules: simplify validation of *.desktop files
The tools have gotten better, we don't need this clumsy work-around any more.
1 parent 728c832 commit dfb16c8

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

debian/rules.in

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,7 @@ override_dh_auto_install:
7171
rm -rf $(DESTDIR)
7272
# executing regular installation with regular prefix but unterneath the debian folder
7373
DESTDIR=$(DESTDIR) $(MAKE) -C src install
74-
# Version 0.22 and newer of the desktop-file-validate program
75-
# (in Jessie and newer) can deal with multiple files specified
76-
# on the command line. Version 0.20 (in Wheezy) says it can,
77-
# but can't. So feed it the files one by one.
78-
for F in $(shell find debian/extras/ share/applications/ -name *.desktop); do \
79-
desktop-file-validate $$F; \
80-
done
81-
# Adding files that are Debian-specific
74+
desktop-file-validate $(shell find debian/extras/ share/applications/ -name *.desktop);
8275
cd debian/extras && cp -a * $(DESTDIR)
8376
DESTDIR=$(DESTDIR) $(MAKE) -C src INSTALL=install
8477
py3clean .

0 commit comments

Comments
 (0)