SUBDIRS = icons po styles
-EXTRA_DIST = sample.dot.emacs.in
-DISTCLEANFILES = sample.dot.emacs
-pkgdata_DATA = sample.dot.emacs
-sample.dot.emacs: sample.dot.emacs.in
- sed -e 's!@pkgdatadir@!$(pkgdatadir)!g' $< > $@
+EXTRA_DIST = gnu-emacs-user-config.in
+DISTCLEANFILES = gnu-emacs-user-config
+pkgdata_DATA = gnu-emacs-user-config
+gnu-emacs-user-config: gnu-emacs-user-config.in
+ sed 's!@pkgdatadir@!$(pkgdatadir)!g' $< > $@
+ chmod +x $@
package:
install-package: package
--- /dev/null
+EMACS=${EMACS-emacs}
+
+custom=`cat <<'EOF'
+(custom-set-variables
+ '(liece-intl-catalogue-directory "@pkgdatadir@/locale" nil (liece))
+ '(liece-window-style-directory "@pkgdatadir@/styles" nil (liece))
+ '(liece-icon-directory "@pkgdatadir@/icons" nil (liece)))
+EOF`
+
+$EMACS -eval $custom -l cus-edit -l $< -f Custom-save
+++ /dev/null
-;;; -*- emacs-lisp -*-
-
-(setq liece-intl-catalogue-directory "@pkgdatadir@/locale"
- liece-window-style-directory "@pkgdatadir@/styles"
- liece-icon-directory "@pkgdatadir@/icons")