diff options
author | Erwin Rol <erwin@erwinrol.com> | 2010-01-22 18:02:12 +0100 |
---|---|---|
committer | Erwin Rol <erwin@erwinrol.com> | 2010-02-01 13:58:19 +0100 |
commit | 9e1df4aed74de41e7d9d552bc129776515b5e623 (patch) | |
tree | 35febabe08daed28a42d732f448cb6c5b09c36b5 /rules/xorg-server.make | |
parent | d3f2416a857f5b6f87ae5b14c727a56f4e8c9061 (diff) | |
download | ptxdist-9e1df4aed74de41e7d9d552bc129776515b5e623.tar.gz ptxdist-9e1df4aed74de41e7d9d552bc129776515b5e623.tar.xz |
[xorg-server] Add config file install option
Add a menu option to install a /etc/X11/xorg.conf file
via the install_alternative mechanism.
Signed-off-by: Erwin Rol <erwin@erwinrol.com>
Diffstat (limited to 'rules/xorg-server.make')
-rw-r--r-- | rules/xorg-server.make | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rules/xorg-server.make b/rules/xorg-server.make index 8f98bae3f..f1780a93a 100644 --- a/rules/xorg-server.make +++ b/rules/xorg-server.make @@ -359,6 +359,11 @@ $(STATEDIR)/xorg-server.targetinstall: @$(call install_fixup, xorg-server,DEPENDS,) @$(call install_fixup, xorg-server,DESCRIPTION,missing) +ifdef PTXCONF_XORG_SERVER_CONFIG_FILES_XORG_CONF + @$(call install_alternative, xorg-server, 0, 0, 0644, \ + /etc/X11/xorg.conf) +endif + ifdef PTXCONF_XORG_SERVER_XVFB @$(call install_copy, xorg-server, 0, 0, 0755, -, \ $(XORG_PREFIX)/bin/Xvfb) |