@@ -153,7 +153,14 @@ install: all install-data install-headers install-libs install-exec
153153# Install data files...
154154#
155155
156- install-data : $(INSTALL_LANGUAGES )
156+ install-data :
157+ for lang in $( LANGUAGES) ; do \
158+ if test -d $$ lang; then \
159+ $(INSTALL_DIR ) -m 755 $(DOCDIR ) /$$ lang; \
160+ $(INSTALL_DATA ) $$ lang/index.html $(DOCDIR ) /$$ lang; \
161+ $(INSTALL_DATA ) $$ lang/cups.css $(DOCDIR ) /$$ lang > /dev/null 2>&1 || true ; \
162+ fi ; \
163+ done
157164 $(INSTALL_DIR ) -m 755 $(DOCDIR )
158165 for file in $( WEBPAGES) ; do \
159166 $(INSTALL_MAN ) $$ file $(DOCDIR ) ; \
@@ -170,17 +177,6 @@ install-data: $(INSTALL_LANGUAGES)
170177 $(INSTALL_MAN ) $$ file $(DOCDIR ) /images; \
171178 done
172179
173- install-languages :
174- for lang in $( LANGUAGES) ; do \
175- if test -d $$ lang; then \
176- $(INSTALL_DIR ) -m 755 $(DOCDIR ) /$$ lang; \
177- $(INSTALL_DATA ) $$ lang/index.html $(DOCDIR ) /$$ lang; \
178- $(INSTALL_DATA ) $$ lang/cups.css $(DOCDIR ) /$$ lang > /dev/null 2>&1 || true ; \
179- fi ; \
180- done
181-
182- install-langbundle :
183-
184180
185181#
186182# Install programs...
@@ -207,7 +203,12 @@ install-libs:
207203# Uninstall all documentation files...
208204#
209205
210- uninstall : $(UNINSTALL_LANGUAGES )
206+ uninstall :
207+ -for lang in $(LANGUAGES ) ; do \
208+ $(RM ) $(DOCDIR ) /$$ lang/index.html; \
209+ $(RM ) $(DOCDIR ) /$$ lang/cups.css; \
210+ $(RMDIR ) $(DOCDIR ) /$$ lang; \
211+ done
211212 for file in $( WEBPAGES) ; do \
212213 $(RM ) $(DOCDIR ) /$$ file; \
213214 done
@@ -223,12 +224,3 @@ uninstall: $(UNINSTALL_LANGUAGES)
223224 -$(RMDIR ) $(DOCDIR ) /images
224225 -$(RMDIR ) $(DOCDIR ) /help
225226 -$(RMDIR ) $(DOCDIR )
226-
227- uninstall-languages :
228- -for lang in $(LANGUAGES ) ; do \
229- $(RM ) $(DOCDIR ) /$$ lang/index.html; \
230- $(RM ) $(DOCDIR ) /$$ lang/cups.css; \
231- $(RMDIR ) $(DOCDIR ) /$$ lang; \
232- done
233-
234- install-langbundle :
0 commit comments