Now installing (and reading) UI file to (from) $(pkgdatadir)
This commit is contained in:
parent
6595f0f961
commit
49583c9c95
@ -1,6 +1,12 @@
|
|||||||
|
AM_CPPFLAGS = -DG_LOG_DOMAIN=\"Astrognome\" -DLOCALEDIR=\"$(localedir)\" -DPKGDATADIR=\"$(pkgdatadir)\"
|
||||||
bin_PROGRAMS = astrognome
|
bin_PROGRAMS = astrognome
|
||||||
|
|
||||||
astrognome_SOURCES = astrognome.c
|
astrognome_SOURCES = astrognome.c
|
||||||
astrognome_LDADD = $(SWE_GLIB_LIBS) $(GTK_LIBS)
|
astrognome_LDADD = $(SWE_GLIB_LIBS) $(GTK_LIBS)
|
||||||
astrognome_LDFLAGS = -rdynamic
|
astrognome_LDFLAGS = -rdynamic
|
||||||
astrognome_CFLAGS = $(SWE_GLIB_CFLAGS) $(CFLAGS) $(GTK_CFLAGS) -Wall
|
astrognome_CFLAGS = $(SWE_GLIB_CFLAGS) $(CFLAGS) $(GTK_CFLAGS) -Wall
|
||||||
|
|
||||||
|
guidir = $(pkgdatadir)
|
||||||
|
gui_DATA = astrognome.ui
|
||||||
|
|
||||||
|
EXTRA_DIST = $(gui_DATA)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include <swe-glib.h>
|
#include <swe-glib.h>
|
||||||
|
|
||||||
#define UI_FILE "/home/polesz/Projektek/c/astrognome/src/astrognome.ui"
|
#define UI_FILE PKGDATADIR "/astrognome.ui"
|
||||||
|
|
||||||
GtkBuilder *builder;
|
GtkBuilder *builder;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user