forked from analogdevicesinc/diagnostic_report
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The diagnostic report tool can be used to generate report containing system information that is useful in analysing problems. Signed-off-by: Lars-Peter Clausen <[email protected]>
- Loading branch information
0 parents
commit 821c704
Showing
5 changed files
with
833 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
adi-diagnostic-report.desktop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
PREFIX ?= /usr/local | ||
|
||
.PHONY : all | ||
all: adi-diagnostic-report.desktop | ||
|
||
%.desktop: %.desktop.in | ||
sed 's/@PREFIX@/$(subst /,\/,$(PREFIX))/' $+ > $@ | ||
|
||
.PHONY : clean | ||
clean: | ||
rm -f adi-diagnostic-report.desktop | ||
|
||
install: all | ||
install -d $(DESTDIR)$(PREFIX)/bin | ||
install -d $(DESTDIR)$(PREFIX)/share/adi_diagnostic_report/ | ||
install ./adi_diagnostic_report $(DESTDIR)$(PREFIX)/bin/ | ||
install ./adi_diagnostic_report.glade $(DESTDIR)$(PREFIX)/share/adi_diagnostic_report/ | ||
xdg-desktop-menu install adi-diagnostic-report.desktop | ||
|
||
uninstall: | ||
rm -f $(DESTDIR)$(PREFIX)/bin/adi_diagnostic_report | ||
rm -rf $(DESTDIR)$(PREFIX)/share/adi_diagnostic_report/ | ||
xdg-desktop-menu uninstall adi-diagnostic-report.desktop | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[Desktop Entry] | ||
Exec=@PREFIX@/bin/adi_diagnostic_report --gui | ||
Icon=utilities-system-monitor | ||
Terminal=false | ||
Type=Application | ||
Categories=System | ||
Name=ADI Diagnostic Report | ||
GenericName=ADI Diagnostic Report |
Oops, something went wrong.