author | Rich Burridge <rich.burridge@oracle.com> |
Wed, 19 Apr 2017 14:10:37 -0700 | |
changeset 7917 | 39eb760cd391 |
permissions | -rw-r--r-- |
7917
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
Solaris man pages are now normalized, so no need to do anything special. |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
|
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
These changes should be sent upstream. |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
|
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
--- smartmontools-6.5/Makefile.am.orig 2017-01-12 07:39:27.376645290 +0000 |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
+++ smartmontools-6.5/Makefile.am 2017-01-12 07:43:54.526791076 +0000 |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
@@ -249,47 +249,6 @@ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
|
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
endif |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
|
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
-if OS_SOLARIS |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
-# This block is required because Solaris uses manual page section 1m |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
-# for administrative command (linux/freebsd use section 8) and Solaris |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
-# uses manual page section 4 for file formats (linux/freebsd use |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
-# section 5). Automake can deal cleanly with man page sections 1-8 |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
-# and n, but NOT with sections of the form 1m. |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
-extra_MANS = smartd.conf.4 \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
- smartctl.1m \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
- smartd.1m |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
-if ENABLE_UPDATE_SMART_DRIVEDB |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
-extra_MANS += update-smart-drivedb.1m |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
-endif |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
23 |
- |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
-all-local: $(extra_MANS) |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
-install-man: $(extra_MANS) |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
- @$(NORMAL_INSTALL) |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
- $(MKDIR_P) '$(DESTDIR)$(mandir)/man4' |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
- $(MKDIR_P) '$(DESTDIR)$(mandir)/man1m' |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
- for i in $(extra_MANS); do \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
- if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
- else file=$$i; fi; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
- ext=`echo $$i | sed -e 's/^.*\\.//'`; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
- inst=`echo $$inst | sed -e 's/^.*\///'`; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
- inst=`echo $$inst | sed '$(transform)'`.$$ext; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
- echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(mandir)/man$$ext/$$inst'"; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
- $(INSTALL_DATA) "$$file" "$(DESTDIR)$(mandir)/man$$ext/$$inst"; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
38 |
- done |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
-uninstall-man: |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
- @$(NORMAL_UNINSTALL) |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
- for i in $(extra_MANS); do \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
42 |
- if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
- else file=$$i; fi; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
- ext=`echo $$i | sed -e 's/^.*\\.//'`; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
- inst=`echo $$inst | sed -e 's/^.*\///'`; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
- inst=`echo $$inst | sed '$(transform)'`.$$ext; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
- echo " rm -f '$(DESTDIR)$(mandir)/man$$ext/$$inst'"; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
- rm -f "$(DESTDIR)$(mandir)/man$$ext/$$inst"; \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
- done |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
-else |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
# For systems that adopts traditional manner |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
|
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
man_MANS = smartd.conf.5 \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
@@ -300,8 +259,6 @@ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
56 |
man_MANS += update-smart-drivedb.8 |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
57 |
endif |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
58 |
|
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
-endif |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
60 |
- |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
61 |
docsdir=$(docdir) |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
docs_DATA = \ |
39eb760cd391
PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
63 |
AUTHORS \ |