Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:Staging:adi:76
wumpus
wumpus-Makefile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wumpus-Makefile.patch of Package wumpus
diff --git a/Makefile b/Makefile index ef8bddd..39b0a4d 100644 --- a/Makefile +++ b/Makefile @@ -31,14 +31,25 @@ wumpus.html: wumpus.xml SOURCES = README COPYING NEWS control Makefile wumpus.c superhack.c wumpus.xml wumpus.png wumpus.desktop superhack.desktop install: wumpus superhack wumpus.6 - mkdir -p $(prefix)/bin - mkdir -p $(prefix)/share/man/man6 - cp wumpus superhack $(prefix)/bin/ - cp wumpus.6 $(prefix)/share/man/man6/ + install -m 0755 -d $(DESTDIR)/usr/bin/ + install -m 0755 -d $(DESTDIR)/usr/share/man/man6/ + install -m 0755 -d $(DESTDIR)//usr/share/applications/ + install -m 0755 -d $(DESTDIR)/usr/share/icons/hicolor/48x48/apps/ + install -m 0755 -d $(DESTDIR)/usr/share/appdata/ + install -m 0755 superhack wumpus $(DESTDIR)/usr/bin/ + install -m 0644 wumpus.6 $(DESTDIR)/usr/share/man/man6/ + install -m 0644 wumpus.desktop $(DESTDIR)/usr/share/applications/ + install -m 0644 superhack.desktop $(DESTDIR)/usr/share/applications/ + install -m 0644 wumpus.png $(DESTDIR)/usr/share/icons/hicolor/48x48/apps/ + install -m 0644 wumpus.xml $(DESTDIR)/usr/share/appdata/ uninstall: - rm $(prefix)/bin/wumpus $(prefix)/bin/superhack - rm $(prefix)/share/man/man6/wumpus.6 + rm -f /usr/bin/superhack /usr/bin/wumpus + rm -f /usr/share/man/man6/wumpus.6 + rm -f /usr/share/applications/wumpus.desktop + rm -f /usr/share/applications/superhack.desktop + rm -f /usr/share/icons/hicolor/48x48/apps/wumpus.png + rm -f /usr/share/appdata/wumpus.xml CPPCHECKOPTS = cppcheck:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor