~ubuntu-branches/ubuntu/precise/xfonts-utils/precise

« back to all changes in this revision

Viewing changes to bdftopcf-X11R7.0-1.0.0/aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson, Tollef Fog Heen, Colin Watson
  • Date: 2006-07-12 16:37:08 UTC
  • Revision ID: james.westby@ubuntu.com-20060712163708-1rhlbakh87jfixxy
Tags: 1:1.0.0-6ubuntu1
[ Tollef Fog Heen ]
* Remove /usr/share/X11/fonts and any empty sub-directories to clean up
  cruft left by fc-cache as well as update-fonts-{scale,dir,alias}

[ Colin Watson ]
* Slightly improve error-handling in the above, and do the .postinst.in
  boilerplate stuff so that the XSF build system doesn't clean it up for
  us.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1136
1136
 
1137
1137
if test x$APP_MAN_SUFFIX = x    ; then
1138
1138
    case $host_os in
1139
 
        linux*) APP_MAN_SUFFIX=1x ;;
 
1139
        k*bsd*-gnu)     APP_MAN_SUFFIX=1x ;;
1140
1140
        *)      APP_MAN_SUFFIX=1  ;;
1141
1141
    esac
1142
1142
fi
1143
1143
if test x$APP_MAN_DIR = x    ; then
1144
1144
    case $host_os in
1145
 
        linux*) APP_MAN_DIR='$(mandir)/man1' ;;
 
1145
        k*bsd*-gnu)     APP_MAN_DIR='$(mandir)/man1' ;;
1146
1146
        *)      APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;;
1147
1147
    esac
1148
1148
fi
1149
1149
 
1150
1150
if test x$LIB_MAN_SUFFIX = x    ; then
1151
1151
    case $host_os in
1152
 
        linux*) LIB_MAN_SUFFIX=3x ;;
 
1152
        k*bsd*-gnu)     LIB_MAN_SUFFIX=3x ;;
1153
1153
        *)      LIB_MAN_SUFFIX=3  ;;
1154
1154
    esac
1155
1155
fi
1156
1156
if test x$LIB_MAN_DIR = x    ; then
1157
1157
    case $host_os in
1158
 
        linux*) LIB_MAN_DIR='$(mandir)/man3' ;;
 
1158
        k*bsd*-gnu)     LIB_MAN_DIR='$(mandir)/man3' ;;
1159
1159
        *)      LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;;
1160
1160
    esac
1161
1161
fi
1162
1162
 
1163
1163
if test x$FILE_MAN_SUFFIX = x    ; then
1164
1164
    case $host_os in
1165
 
        linux*)         FILE_MAN_SUFFIX=5x ;;
 
1165
        k*bsd*-gnu)             FILE_MAN_SUFFIX=5x ;;
1166
1166
        solaris*)       FILE_MAN_SUFFIX=4  ;;
1167
1167
        *)              FILE_MAN_SUFFIX=5  ;;
1168
1168
    esac
1169
1169
fi
1170
1170
if test x$FILE_MAN_DIR = x    ; then
1171
1171
    case $host_os in
1172
 
        linux*) FILE_MAN_DIR='$(mandir)/man5' ;;
 
1172
        k*bsd*-gnu)     FILE_MAN_DIR='$(mandir)/man5' ;;
1173
1173
        *)      FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;;
1174
1174
    esac
1175
1175
fi
1178
1178
# LinuxDebian, not other Linuxes, so we leave it unchanged here
1179
1179
if test x$MISC_MAN_SUFFIX = x    ; then
1180
1180
    case $host_os in
1181
 
#       linux*)         MISC_MAN_SUFFIX=7x ;;
 
1181
#       k*bsd*-gnu)             MISC_MAN_SUFFIX=7x ;;
1182
1182
        solaris*)       MISC_MAN_SUFFIX=5  ;;
1183
1183
        *)              MISC_MAN_SUFFIX=7  ;;
1184
1184
    esac
1185
1185
fi
1186
1186
if test x$MISC_MAN_DIR = x    ; then
1187
1187
    case $host_os in
1188
 
#       linux*) MISC_MAN_DIR='$(mandir)/man7' ;;
 
1188
#       k*bsd*-gnu)     MISC_MAN_DIR='$(mandir)/man7' ;;
1189
1189
        *)      MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;;
1190
1190
    esac
1191
1191
fi
1194
1194
# LinuxDebian, not other Linuxes, so we leave it unchanged here
1195
1195
if test x$DRIVER_MAN_SUFFIX = x    ; then
1196
1196
    case $host_os in
1197
 
#       linux*)         DRIVER_MAN_SUFFIX=4x ;;
 
1197
#       k*bsd*-gnu)             DRIVER_MAN_SUFFIX=4x ;;
1198
1198
        solaris*)       DRIVER_MAN_SUFFIX=7  ;;
1199
1199
        *)              DRIVER_MAN_SUFFIX=4  ;;
1200
1200
    esac
1201
1201
fi
1202
1202
if test x$DRIVER_MAN_DIR = x    ; then
1203
1203
    case $host_os in
1204
 
#       linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;;
 
1204
#       k*bsd*-gnu)     DRIVER_MAN_DIR='$(mandir)/man4' ;;
1205
1205
        *)      DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;;
1206
1206
    esac
1207
1207
fi