Skip to content

Commit

Permalink
prepare for having autoyast documentation separate from sources
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Fehr committed Nov 12, 2012
1 parent 724d5dc commit 812f279
Show file tree
Hide file tree
Showing 298 changed files with 17 additions and 50,530 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ doc/xml/ay_bigfile*.xml
doc/xml/html
src/modules/dialogs/autoinstall
src/modules/include/autoinstall
package/*.spec
package/autoyast2-*.bz2
9 changes: 8 additions & 1 deletion autoyast2.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
@HEADER@
Group: System/YaST
License: GPL-2.0
BuildRequires: yast2-mouse yast2-transfer yast2-bootloader xorg-x11-libs yast2-devtools pkg-config libxslt perl-XML-Writer docbook-xsl-stylesheets sgml-skel yast2-testsuite update-desktop-files yast2-country yast2-slp daps python-xml suse-xsl-stylesheets
Source1: autoyast_en_html.tar.bz2
BuildRequires: yast2-mouse yast2-transfer yast2-bootloader xorg-x11-libs yast2-devtools pkg-config libxslt perl-XML-Writer yast2-testsuite update-desktop-files yast2-country yast2-slp python-xml libxml2-tools
# API for Disabled Modules (ProductControl)
BuildRequires: yast2 >= 2.16.36
# After API cleanup
Expand Down Expand Up @@ -80,6 +81,12 @@ install -d $RPM_BUILD_ROOT/var/lib/autoinstall/repository/classes
install -d $RPM_BUILD_ROOT/var/lib/autoinstall/autoconf
install -d $RPM_BUILD_ROOT/var/lib/autoinstall/tmp

# Documentation
install -d -m 755 $RPM_BUILD_ROOT/@docdir@/html
tar xvpfC %{SOURCE1} $RPM_BUILD_ROOT/@docdir@/html
mv $RPM_BUILD_ROOT/@docdir@/html/autoyast/* $RPM_BUILD_ROOT/@docdir@/html/
rmdir $RPM_BUILD_ROOT/@docdir@/html/autoyast

@CLEAN@

%post
Expand Down
1 change: 0 additions & 1 deletion configure.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ fi
@YAST2-CHECKS-COMMON@
@YAST2-CHECKS-YCP@

AX_CHECK_DOCBOOK
## and generate the output...
@YAST2-OUTPUT@
21 changes: 0 additions & 21 deletions doc/ENV-autoyast

This file was deleted.

12 changes: 0 additions & 12 deletions doc/ENV-docbook-autoyast

This file was deleted.

29 changes: 2 additions & 27 deletions doc/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,32 +1,7 @@
#
# Makefile.am for y2c_autoinst/doc
# Makefile.am for autoinstallation/doc
#
# $Id$
#

SUBDIRS = xml entities bin examples
#htmldir = $(docdir)/html
EXTRA_DIST = ENV*

#html_DATA = html
#doc_DATA = pdf


#html:
# $(MAKE) -C xml html

#pdf:
# $(MAKE) -C xml pdf

pkgsrc:
$(MAKE) -C xml pkgsrc

#html-debug:
# $(MAKE) -C xml pkgsrc

bigfile:
$(MAKE) -C xml ay_bigfile.xml

clean:
$(MAKE) -C xml clean
rm -rf build
SUBDIRS = autodocs

0 comments on commit 812f279

Please sign in to comment.