Skip to content

Commit

Permalink
Update snapcraft bundling.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Mar 10, 2018
1 parent fd25330 commit 23303a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#

VERSION = 1.3
prefix = /usr/local
bindir = $(DESTDIR)$(prefix)/bin
mandir = $(DESTDIR)$(prefix)/share/man
prefix = $(DESTDIR)/usr/local
bindir = $(prefix)/bin
mandir = $(prefix)/share/man

CC = gcc
CFLAGS = -Os -g -Wall '-DVERSION="$(VERSION)"'
Expand Down
3 changes: 2 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ icon: mmd-128.png

apps:
mmdutil:
command: usr/local/bin/mmdutil
command: bin/mmdutil
plugs: [home]

parts:
main:
plugin: make
source: .
make-install-var: prefix

0 comments on commit 23303a7

Please sign in to comment.