Skip to content

Commit

Permalink
New feature: Desktop icon for interactive mode (-i)
Browse files Browse the repository at this point in the history
Sign only debs built for release to allow building debs for testing
  • Loading branch information
Schlomo Schapiro committed Mar 28, 2017
1 parent 6d5a948 commit 4db3441
Show file tree
Hide file tree
Showing 3 changed files with 2,023 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,19 @@ test:
install:
mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/usr/share/applications $(DESTDIR)/usr/share/icons/hicolor/scalable/apps $(DESTDIR)/usr/share/man/man1
install -m 0755 automirror.sh -D $(DESTDIR)/usr/bin/automirror
install -m 0644 automirror.desktop $(DESTDIR)/usr/share/applications
install -m 0644 automirror.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
install -m 0644 automirror*.desktop $(DESTDIR)/usr/share/applications
install -m 0644 automirror*.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
ronn --pipe <README.md | gzip -9 > $(DESTDIR)/usr/share/man/man1/automirror.1.gz

clean:
rm -Rf debian/$(PACKAGE)* debian/files out/*

deb: clean
debuild -i -b --lintian-opts --profile debian
debuild -i -S --lintian-opts --profile debian
ifneq ($(MAKECMDGOALS), release)
$(eval DEBUILD_ARGS := -us -uc)
endif
debuild $(DEBUILD_ARGS) -i -b --lintian-opts --profile debian
debuild $(DEBUILD_ARGS) -i -S --lintian-opts --profile debian
mkdir -p out
mv ../$(PACKAGE)*.{xz,dsc,deb,build,changes} out/
dpkg -I out/*.deb
Expand Down
11 changes: 11 additions & 0 deletions automirror-interactive.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Name=Interactive Display Mirror
GenericName=Interactive Display Mirror
Exec=automirror -i
Icon=automirror-interactive
Terminal=false
Categories=Utility;
Comment=Ask for primary monitor and configure attached monitors for screen mirroring
Loading

0 comments on commit 4db3441

Please sign in to comment.