Use @sysconfdir@ in etc/ configuration files

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2007-05-30 23:33:39 -04:00
parent 3e05e18707
commit ca05e942f2
8 changed files with 14 additions and 12 deletions

View file

@ -8,6 +8,8 @@ MOSTLYCLEANFILES = $(dist_sysconf_DATA)
#### Taken from the autoconf scripts Makefile.am #### #### Taken from the autoconf scripts Makefile.am ####
edit = sed \ edit = sed \
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
-e 's|@prefix[@]|$(prefix)|g' \
-e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \ -e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
-e 's|@PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \ -e 's|@PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \
-e 's|@PKGEXT[@]|$(PKGEXT)|g' \ -e 's|@PKGEXT[@]|$(PKGEXT)|g' \

View file

@ -1,5 +1,5 @@
# #
# /etc/abs/supfile.arch # supfile.arch
# #
# this is the host containing the current PKGBUILD files # this is the host containing the current PKGBUILD files

View file

@ -1,5 +1,5 @@
# #
# /etc/abs/supfile.community # supfile.community
# #
# this is the host containing the community PKGBUILD files # this is the host containing the community PKGBUILD files

View file

@ -1,5 +1,5 @@
# #
# /etc/abs/supfile.extra # supfile.extra
# #
# this is the host containing the extra PKGBUILD files # this is the host containing the extra PKGBUILD files

View file

@ -1,5 +1,5 @@
# #
# /etc/abs/supfile.testing # supfile.testing
# #
# this is the host containing the testing PKGBUILD files # this is the host containing the testing PKGBUILD files

View file

@ -1,5 +1,5 @@
# #
# /etc/abs/supfile.unstable # supfile.unstable
# #
# this is the host containing the unstable PKGBUILD files # this is the host containing the unstable PKGBUILD files

View file

@ -1,5 +1,5 @@
# #
# /etc/makepkg.conf # /@sysconfdir@/makepkg.conf
# #
######################################################################### #########################################################################

View file

@ -1,5 +1,5 @@
# #
# /etc/pacman.conf # /@sysconfdir@/pacman.conf
# #
# See the pacman manpage for option directives # See the pacman manpage for option directives
@ -20,23 +20,23 @@ HoldPkg = pacman glibc
# have identical names, regardless of version number # have identical names, regardless of version number
# #
#[testing] #[testing]
#Include = /etc/pacman.d/testing #Include = /@sysconfdir@/pacman.d/testing
[current] [current]
# Add your preferred servers here, they will be used first # Add your preferred servers here, they will be used first
Include = /etc/pacman.d/current Include = /@sysconfdir@/pacman.d/current
[extra] [extra]
# Add your preferred servers here, they will be used first # Add your preferred servers here, they will be used first
Include = /etc/pacman.d/extra Include = /@sysconfdir@/pacman.d/extra
[community] [community]
# Add your preferred servers here, they will be used first # Add your preferred servers here, they will be used first
Include = /etc/pacman.d/community Include = /@sysconfdir@/pacman.d/community
#[unstable] #[unstable]
# Add your preferred servers here, they will be used first # Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/unstable #Include = /@sysconfdir@/pacman.d/unstable
# An example of a custom package repository. See the pacman manpage for # An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories. # tips on creating your own repositories.