Update
This commit is contained in:
parent
2563a7aad3
commit
e560a4cf55
|
@ -0,0 +1 @@
|
|||
.flatpak-builder
|
9
Makefile
9
Makefile
|
@ -1,10 +1,11 @@
|
|||
CC = gcc
|
||||
DESTDIR = /usr/bin
|
||||
CFLAGS = -Wall -Wextra -g
|
||||
PKG_CONFIG = pkg-config
|
||||
GTK_LIBS = $(shell $(PKG_CONFIG) --libs gtk+-3.0)
|
||||
WEBKIT_LIBS = $(shell $(PKG_CONFIG) --libs webkit2gtk-4.1)
|
||||
WEBKIT_LIBS = $(shell $(PKG_CONFIG) --libs webkit2gtk-4.0)
|
||||
LIBS = $(GTK_LIBS) $(WEBKIT_LIBS)
|
||||
INCLUDES = $(shell $(PKG_CONFIG) --cflags gtk+-3.0 webkit2gtk-4.1)
|
||||
INCLUDES = $(shell $(PKG_CONFIG) --cflags gtk+-3.0 webkit2gtk-4.0)
|
||||
|
||||
SRCS = pageburger.c
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
|
@ -22,3 +23,7 @@ $(TARGET): $(OBJS)
|
|||
|
||||
clean:
|
||||
rm -f $(OBJS) $(TARGET)
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)
|
||||
cp pageburger $(DESTDIR)
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
make
|
||||
cp pageburger /usr/bin/
|
|
@ -3,7 +3,7 @@
|
|||
"runtime": "org.gnome.Platform",
|
||||
"runtime-version": "45",
|
||||
"sdk": "org.gnome.Sdk",
|
||||
"command": "pageburger",
|
||||
"command": "/app/bin/pageburger",
|
||||
"modules": [
|
||||
{
|
||||
"name": "PageBurger",
|
||||
|
@ -16,7 +16,7 @@
|
|||
}
|
||||
],
|
||||
"build-commands": [
|
||||
"./install.sh"
|
||||
"make install DESTDIR=/app/bin/"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
Reference in New Issue