GTK+2 panel 

GTK+2 panel Commit Details

Date:2012-05-27 20:00:11 (8 years 5 months ago)
Author:Nicola Fontana
Branch:master
Commit:33c27bbde566e7d0e08ea8b18ba8f8f148ed0cf5
Parents: 77ba731394813be421213559e4e931a205d01cb9
Message:[build] Using proper config.h.in template

Avoid manually preprocessing config.h.in and pass the PACKAGE_DATADIR
path at build time through a preprocessor variable.
Changes:
MMakefile.am (2 diffs)
Mconfigure.ac (2 diffs)
Mgtk2panel/Makefile.am (1 diff)

File differences

Makefile.am
22
33
44
5
6
5
76
87
98
......
1413
1514
1615
17
18
19
20
2116
2217
2318
ACLOCAL_AMFLAGS=-I build
BUILT_SOURCES=config.h \
ChangeLog \
BUILT_SOURCES=ChangeLog \
README \
NEWS \
TODO
examples \
docs
config.h: config.h.in
rm -f $@ $@.tmp
sed -e 's|@pkgdatadir[@]|$(pkgdatadir)|g' $< > $@.tmp
mv $@.tmp $@
# Creating ChangeLog files from git log:
# idea stolen from cairo/build/Makefile.am.changelog
configure.ac
88
99
1010
11
11
1212
1313
1414
......
1717
1818
1919
20
21
22
2320
2421
2522
AC_PROG_LIBTOOL])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_HEADERS([config.h.in])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([build])
AC_CONFIG_MACRO_DIR([build])
AC_DEFINE([PACKAGE_DESCRIPTION],
["A bleeding edge panel heavily based on the GTK+2 stack"],
[Package description to be used as summary.])
AC_DEFINE([PACKAGE_DATADIR],
["@pkgdatadir@"],
[Directory where the package data will be installed.])
dnl Enable silent rules, if possible
m4_ifdef([AM_SILENT_RULES],
gtk2panel/Makefile.am
2727
2828
2929
30
$(gp_built_private_h_sources) \
$(gp_c_sources) \
$(gp_built_c_sources)
gtk2panel_CPPFLAGS=-DPACKAGE_DATADIR='"$(pkgdatadir)"'

Archive Download the corresponding diff file

Branches

Tags