Skip to content

Commit

Permalink
Updates for SLES 10.
Browse files Browse the repository at this point in the history
  • Loading branch information
dagwieers committed Jul 30, 2007
1 parent fa436ee commit b5ced46
Show file tree
Hide file tree
Showing 3 changed files with 439 additions and 37 deletions.
23 changes: 14 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,25 @@ localstatedir = /var

logdir = $(localstatedir)/log/dconf

.PHONY: all install docs clean

all:
all: docs
@echo "Nothing to be build."

install: docs
docs:
$(MAKE) -C docs docs

install:
-@[ ! -f $(DESTDIR)$(sysconfdir)/dconf.conf ] && install -D -m0644 config/dconf.conf $(DESTDIR)$(sysconfdir)/dconf.conf

install -Dp -m0755 dconf $(DESTDIR)$(bindir)/dconf
install -dp -m0755 $(DESTDIR)$(logdir)

-make install -C docs

@echo "Also do: make install-<dist> (with dist: debian|redhat|suse)"

docs-install:
$(MAKE) -C docs install

install-redhat: install
install -Dp -m0644 config/redhat.conf $(DESTDIR)$(sysconfdir)/dconf.d/redhat.conf

Expand All @@ -35,12 +40,12 @@ install-debian: install
install-suse:
install -Dp -m0644 config/suse.conf $(DESTDIR)$(sysconfdir)/dconf.d/suse.conf

docs:
make -C docs all
clean:
$(MAKE) -C docs clean

dist: docs
make -C docs dist
find . ! -path '*/.svn*' | pax -d -w -x ustar -s ',^.,$(name)-$(version),' | bzip2 >../$(name)-$(version).tar.bz2
dist: clean
$(MAKE) -C docs dist
find . ! -wholename '*/.svn*' | pax -d -w -x ustar -s ,^,$(name)-$(version)/, | bzip2 >../$(name)-$(version).tar.bz2

rpm: dist
rpmbuild -tb --clean --rmsource --rmspec --define "_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" --define "_rpmdir ../" ../$(name)-$(version).tar.bz2
Expand Down
12 changes: 9 additions & 3 deletions config/redhat.conf
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ files =
/etc/killpower
/etc/makedev.d/*
/etc/modprobe.conf
/etc/modprobe.d/*
/etc/modules.conf
/etc/smartd.conf
/etc/sysconfig/bluetooth
Expand Down Expand Up @@ -617,11 +618,17 @@ dirs = /etc/audit/
[lftp]
files = /etc/lftp.conf

[logrotate]
files = /etc/logrotate.conf

[ltsp]
files =
/etc/ltsp.conf
/opt/ltsp/*/etc/lts.conf

[ltrace]
files = /etc/ltrace.conf

[mirror]
files = /etc/mirror.conf

Expand Down Expand Up @@ -910,13 +917,12 @@ files =

[syslog]
files =
/etc/logrotate.d/syslog
/etc/sysconfig/syslog
/etc/syslog.conf

[syslog-ng]
files =
/etc/logrotate.d/syslog
/etc/syslog-ng/syslog-ng.conf
files = /etc/syslog-ng/syslog-ng.conf

[sysstat]
files =
Expand Down
Loading

0 comments on commit b5ced46

Please sign in to comment.