Skip to content

Commit

Permalink
enable compiling, testing, packaging from the WC (bnc#790490)
Browse files Browse the repository at this point in the history
by mimicking the runtime directory layout
  • Loading branch information
mvidner committed Dec 7, 2012
1 parent 07015b2 commit d5381a2
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 19 deletions.
2 changes: 2 additions & 0 deletions doc/autodocs/Makefile.am
@@ -1,3 +1,5 @@
# Makefile.am for YCP module .../doc/autodocs

AUTODOCS_YCP = $(wildcard $(top_srcdir)/src/*/*.ycp $(top_srcdir)/src/*/*/*.ycp)
AUTODOCS_STRIP = $(top_srcdir)/src
include $(top_srcdir)/autodocs-ycp.ami
29 changes: 12 additions & 17 deletions src/Makefile.am
Expand Up @@ -2,32 +2,27 @@

myincludedir = @yncludedir@/nfs

client_DATA = \
nfs_auto.ycp \
nfs-client.ycp \
nfs-client4part.ycp \
nfs.ycp
YCPC_Y2DIR = .

myinclude_DATA = \
routines.ycp \
ui.ycp \
wizards.ycp
client_DATA = \
clients/nfs_auto.ycp \
clients/nfs-client.ycp \
clients/nfs-client4part.ycp \
clients/nfs.ycp

myinclude_DATA = \
include/nfs/routines.ycp \
include/nfs/ui.ycp \
include/nfs/wizards.ycp

module_DATA = \
Nfs.ycp
modules/Nfs.ycp

desktop_DATA = nfs.desktop

rncdir = $(schemadir)/autoyast/rnc
rnc_DATA = nfs.rnc

nfs:
ln -sf . nfs

ycpchook = nfs

YCPCFLAGS = -I.

EXTRA_DIST = $(client_DATA) $(myinclude_DATA) $(module_DATA) $(desktop_DATA) $(rnc_DATA)

include $(top_srcdir)/Makefile.am.common
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions testsuite/Makefile.am
@@ -1,8 +1,9 @@
#
# Makefile.am for .../testsuite
#
# Do not edit this file (Makefile.am) as it will be overwritten!
#

# enable make check in the working copy
export Y2DIR = $(top_srcdir)/src

AUTOMAKE_OPTIONS = dejagnu
EXTRA_DIST = $(wildcard tests/*.out) $(wildcard tests/*.err) $(wildcard tests/*.ycp) $(wildcard tests/*.yh)
Expand Down

0 comments on commit d5381a2

Please sign in to comment.