Commit ab0dc8ac authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Add stubs for man pages

parent d1474618
Loading
Loading
Loading
Loading

META

0 → 100644
+10 −0
Original line number Diff line number Diff line
#### Package metadata

Name:       norns
Major:      0
Minor:      9
Micro:      0
Version:    0.9.0
Date:       2018-06-14
Author:     Alberto Miranda <alberto.miranda@bsc.es>
Bugs:       alberto.miranda@bsc.es
+4 −1
Original line number Diff line number Diff line
@@ -27,10 +27,13 @@

ACLOCAL_AMFLAGS = -I m4

SUBDIRS = etc lib include examples src
SUBDIRS = etc lib include examples src doc

if BUILD_TESTS
SUBDIRS += tests
endif

DIST_SUBDIRS = lib examples

EXTRA_DIST = \
	config

config/Make-inc.mk

0 → 100644
+57 −0
Original line number Diff line number Diff line
##########################################################################
#  Copyright (C) 2017-2018 Barcelona Supercomputing Center               #
#                          Centro Nacional de Supercomputacion           #
#  All rights reserved.                                                  #
#                                                                        #
#  This file is part of the NORNS Data Scheduler, a service that allows  #
#  other programs to start, track and manage asynchronous transfers of   #
#  data resources transfers requests between different storage backends. #
#                                                                        #
#  See AUTHORS file in the top level directory for information           #
#  regarding developers and contributors.                                #
#                                                                        #
#  The NORNS Data Scheduler is free software: you can redistribute it    #
#  and/or modify it under the terms of the GNU Lesser General Public     #
#  License as published by the Free Software Foundation, either          #
#  version 3 of the License, or (at your option) any later version.      #
#                                                                        #
#  The NORNS Data Scheduler is distributed in the hope that it will be   #
#  useful, but WITHOUT ANY WARRANTY; without even the implied warranty   #
#  of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  #
#  Lesser General Public License for more details.                       #
#                                                                        #
#  You should have received a copy of the GNU Lesser General             #
#  Public License along with the NORNS Data Scheduler.  If not, see      #
#  <http://www.gnu.org/licenses/>.                                       #
##########################################################################


################################################################################
# Perform autoconf-style variable substitution.
# Fully expands autoconf variables that depend on other autoconf variables.
################################################################################
subst=$(SED) \
        -e 's|[@]bindir[@]|$(bindir)|g' \
        -e 's|[@]datadir[@]|$(datadir)|g' \
        -e 's|[@]datarootdir[@]|$(datarootdir)|g' \
        -e 's|[@]docdir[@]|$(docdir)|g' \
        -e 's|[@]exec_prefix[@]|$(exec_prefix)|g' \
        -e 's|[@]includedir[@]|$(includedir)|g' \
        -e 's|[@]infodir[@]|$(infodir)|g' \
		-e 's|[@]libdir[@]|$(libdir)|g' \
		-e 's|[@]libexecdir[@]|$(libexecdir)|g' \
		-e 's|[@]localedir[@]|$(localedir)|g' \
		-e 's|[@]localstatedir[@]|$(localstatedir)|g' \
		-e 's|[@]mandir[@]|$(mandir)|g' \
        -e 's|[@]oldincludedir[@]|$(oldincludedir)|g' \
        -e 's|[@]prefix[@]|$(prefix)|g' \
		-e 's|[@]sbindir[@]|$(sbindir)|g' \
		-e 's|[@]sharedstatedir[@]|$(sharedstatedir)|g' \
		-e 's|[@]sysconfdir[@]|$(sysconfdir)|g' \
        -e 's|[@]NORNS_ALIAS[@]|$(NORNS_ALIAS)|g' \
		-e 's|[@]NORNS_AUTHOR[@]|$(NORNS_AUTHOR)|g' \
        -e 's|[@]NORNS_DATE[@]|$(NORNS_DATE)|g' \
		-e 's|[@]NORNS_MAJOR[@]|$(NORNS_MAJOR)|g'\
		-e 's|[@]NORNS_MICRO[@]|$(NORNS_MICRO)|g'\
		-e 's|[@]NORNS_MINOR[@]|$(NORNS_MINOR)|g'\
		-e 's|[@]NORNS_VERSION[@]|$(NORNS_VERSION)|g'
+10 −1
Original line number Diff line number Diff line
@@ -25,7 +25,13 @@
#  <http://www.gnu.org/licenses/>.                                       #
##########################################################################

AC_INIT([norns], [1.0], [alberto.miranda@bsc.es])
AC_INIT(m4_esyscmd_s([awk -F ':[ \t]+' '$1 ~ /^ *Name$/ {gsub(" ", "", $2); print $2; exit}' ./META ]), 
        m4_esyscmd_s([awk -F ':[ \t]+' '$1 ~ /^ *Version$/ {gsub(" ", "", $2); print $2; exit}' ./META ]), 
        m4_esyscmd_s([awk -F ':[ \t]+' '$1 ~ /^ *Bugs$/ {gsub(" ", "", $2); print $2; exit}' ./META ]), 
        [],
        [],
        )
X_AC_NORNS_META
AC_PREREQ([2.69])
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_MACRO_DIR([m4])
@@ -36,8 +42,10 @@ AM_INIT_AUTOMAKE([1.9 foreign subdir-objects])

# Checks for programs.
AC_PROG_AWK
AC_PROG_SED
AC_PROG_CXX
AC_PROG_CC
AC_PROG_CPP

AC_PATH_PROG([FILE], [file])
AS_IF([test "x${FILE}" == "x"],
@@ -148,6 +156,7 @@ AC_CHECK_HEADER_STDBOOL
################################################################################
AC_CONFIG_FILES([
        Makefile
        doc/Makefile
        etc/Makefile
        examples/Makefile
        include/Makefile

doc/Makefile.am

0 → 100644
+48 −0
Original line number Diff line number Diff line
##########################################################################
#  Copyright (C) 2017-2018 Barcelona Supercomputing Center               #
#                          Centro Nacional de Supercomputacion           #
#  All rights reserved.                                                  #
#                                                                        #
#  This file is part of the NORNS Data Scheduler, a service that allows  #
#  other programs to start, track and manage asynchronous transfers of   #
#  data resources transfers requests between different storage backends. #
#                                                                        #
#  See AUTHORS file in the top level directory for information           #
#  regarding developers and contributors.                                #
#                                                                        #
#  The NORNS Data Scheduler is free software: you can redistribute it    #
#  and/or modify it under the terms of the GNU Lesser General Public     #
#  License as published by the Free Software Foundation, either          #
#  version 3 of the License, or (at your option) any later version.      #
#                                                                        #
#  The NORNS Data Scheduler is distributed in the hope that it will be   #
#  useful, but WITHOUT ANY WARRANTY; without even the implied warranty   #
#  of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  #
#  Lesser General Public License for more details.                       #
#                                                                        #
#  You should have received a copy of the GNU Lesser General             #
#  Public License along with the NORNS Data Scheduler.  If not, see      #
#  <http://www.gnu.org/licenses/>.                                       #
##########################################################################

include $(top_srcdir)/config/Make-inc.mk

man5_MANS = \
	norns.conf.5

man8_MANS = \
	urd.8

%.5: $(srcdir)/%.5.in
	$(subst) "$^" > "$(builddir)/$@"

%.8: $(srcdir)/%.8.in
	$(subst) "$^" > "$(builddir)/$@"

EXTRA_DIST = \
	$(man5_MANS) \
	$(man8_MANS)

CLEANFILES= \
	$(man5_MANS) \
	$(man8_MANS)
Loading