Project

General

Profile

« Previous | Next » 

Revision 2baa0d53

Added by osmith about 4 years ago

doc: prepare for asciidoc based specification

View differences:

.gitignore
3 3
sim-applet/test
4 4
.sim-keys*
5 5
sim-keys*
6
docs/*.pdf
7
docs/build
8
docs/common
9
docs/*.png
docs/Makefile
1
OSMO_GSM_MANUALS_DIR := $(shell ./osmo-gsm-manuals-dir.sh)
2
srcdir=$(CURDIR)
3

  
4
ASCIIDOC = imsi-pseudo-spec.adoc
5
ASCIIDOC_DEPS =
6
include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.asciidoc.inc
7

  
8
include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.common.inc
docs/imsi-pseudo-spec-docinfo.xml
1
<revhistory>
2
  <revision>
3
    <revnumber>1</revnumber>
4
    <date>2020-04-03</date>
5
    <authorinitials>OS</authorinitials>
6
    <revremark>
7
      Initial version.
8
    </revremark>
9
  </revision>
10
 </revhistory>
11

  
12
<authorgroup>
13
  <author>
14
    <firstname>Oliver</firstname>
15
    <surname>Smith</surname>
16
    <email>osmith@sysmocom.de</email>
17
    <authorinitials>OS</authorinitials>
18
    <affiliation>
19
      <shortaffil>sysmocom</shortaffil>
20
      <orgname>sysmocom - s.f.m.c. GmbH</orgname>
21
      <jobtitle>Employee</jobtitle>
22
    </affiliation>
23
  </author>
24
</authorgroup>
25

  
26
<copyright>
27
  <year>2020</year>
28
  <holder>sysmocom - s.f.m.c. GmbH</holder>
29
</copyright>
30

  
31
<legalnotice>
32
  <para>
33
	Permission is granted to copy, distribute and/or modify this
34
	document under the terms of the GNU Free Documentation License,
35
	Version 1.3 or any later version published by the Free Software
36
	Foundation; with no Invariant Sections, no Front-Cover Texts,
37
	and no Back-Cover Texts.  A copy of the license is included in
38
	the section entitled "GNU Free Documentation License".
39
  </para>
40
  <para>
41
	The Asciidoc source code of this manual is linked at
42
	<ulink url="https://osmocom.org/projects/imsi-pseudo/wiki">
43
		https://osmocom.org/projects/imsi-pseudo/wiki
44
	</ulink>
45
  </para>
46
</legalnotice>
docs/imsi-pseudo-spec.adoc
1
= IMSI Pseudonymization
docs/osmo-gsm-manuals-dir.sh
1
#!/bin/sh -e
2
# Find OSMO_GSM_MANUALS_DIR and print it to stdout. Print where it was taken from to stderr.
3

  
4
# Find it in env, pkg-conf and ../../osmo-gsm-manuals
5
RET="$OSMO_GSM_MANUALS_DIR"
6
if [ -n "$RET" ]; then
7
	RET="$(realpath $RET)"
8
	echo "OSMO_GSM_MANUALS_DIR: $RET (from env)" >&2
9
else
10
	RET="$(pkg-config osmo-gsm-manuals --variable=osmogsmmanualsdir 2>/dev/null || true)"
11
	if [ -n "$RET" ]; then
12
		echo "OSMO_GSM_MANUALS_DIR: $RET (from pkg-conf)" >&2
13
	else
14
		RET="$(realpath $(realpath $(dirname $0))/../../osmo-gsm-manuals)"
15
		echo "OSMO_GSM_MANUALS_DIR: $RET (fallback)" >&2
16
	fi
17
fi
18

  
19
# Print the result or error message
20
if [ -d "$RET" ]; then
21
	echo "$RET"
22
else
23
	echo "ERROR: OSMO_GSM_MANUALS_DIR does not exist!" >&2
24
	echo "Install osmo-gsm-manuals or set OSMO_GSM_MANUALS_DIR." >&2
25
	exit 1
26
fi

Also available in: Unified diff

Add picture from clipboard (Maximum size: 48.8 MB)