[PATCH 2/6] Fix duplicate README (nested as link to root one)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Also fix options to tar command so the symlinks are resolved first.

Note that previously, dist-ttf would propably fail if not dist-sfd
was not run in advance (due to missing "cp ../README ./").

Signed-off-by: Jan Pokorný <jpokorny@xxxxxxxxxx>
---
 source/Makefile |    5 +--
 source/README   |   83 +------------------------------------------------------
 2 files changed, 3 insertions(+), 85 deletions(-)
 mode change 100644 => 120000 source/README

diff --git a/source/Makefile b/source/Makefile
index f80020b..018bbed 100644
--- a/source/Makefile
+++ b/source/Makefile
@@ -20,16 +20,15 @@ dist-src: dist-sfd
 
 dist-sfd:
        mkdir -p $(TMPDIR)/liberation-fonts-$(VER)/{src,scripts}
-       cp ../README ./
        cp Makefile $(MISCFILES) $(TMPDIR)/liberation-fonts-$(VER)/
        cp $(SFDFILES) $(TMPDIR)/liberation-fonts-$(VER)/src/
        cp $(SCRIPTS) $(TMPDIR)/liberation-fonts-$(VER)/scripts/
-       tar Cczvf $(TMPDIR)/ liberation-fonts-$(VER).tar.gz \
+       tar Cczvhf $(TMPDIR)/ liberation-fonts-$(VER).tar.gz \
          liberation-fonts-$(VER)/
 
 dist-ttf: clean-ttf build
        cp $(MISCFILES) liberation-fonts-ttf-$(VER)/
-       tar czvf liberation-fonts-ttf-$(VER).tar.gz liberation-fonts-ttf-$(VER)/
+       tar czvhf liberation-fonts-ttf-$(VER).tar.gz liberation-fonts-ttf-$(VER)/
 #      zip -j liberation-fonts-ttf-$(VER).zip liberation-fonts-ttf-$(VER)/*
        rm -rf liberation-fonts-ttf-$(VER)
 clean: clean-ttf clean-src
diff --git a/source/README b/source/README
deleted file mode 100644
index 89acc9f..0000000
--- a/source/README
+++ /dev/null
@@ -1,82 +0,0 @@
-   1. What's this?
-  =================
-
-  The Liberation Fonts is font collection which aims to provide document 
-  layout compatibility as usage of Times New Roman, Arial, Courier New.
-
-
-   2. Requirements
-  =================
-
-  * fontforge is installed.
-    (http://fontforge.sourceforge.net)
-
-
-   3. Install
-  ============
-
-  3.1 Decompress tarball
-
-    You can extract the files by following command:
-
-      $ tar zxvf liberation-fonts-[VERSION].tar.gz
-
-  3.2 Build from the source
-
-    Change into directory liberation-fonts-[VERSION]/ and build from sources by 
-    following commands:
-
-      $ cd liberation-fonts-[VERSION]
-      $ make
-
-    The built font files will be available in 'build' directory.
-
-  3.3 Install to system
-
-    For Fedora, you could manually install the fonts by copying the TTFs to 
-    ~/.fonts for user wide usage, or to /usr/share/fonts/truetype/liberation 
-    for system-wide availability. Then, run "fc-cache" to let that cached.
-
-    For other distributions, please check out corresponding documentation.
-
-
-   4. Usage
-  ==========
-
-  Simply select preferred liberation font in applications and start using.
-
-
-   5. License
-  ============
-
-  This font set had been released under GNU Public License version 2 
-  ("GPLv2") with exceptions.
-
-  Please read file "COPYING" for GPLv2 license.
-
-  Please read file "License.txt" for details of exceptions.
-
-
-   6. For Maintainers
-  ====================
-
-  Before packaging a new release based on a new source tarball, you have to
-  update the version suffix in the Makefile:
-
-    VER = [VERSION]
-
-  Make sure that the defined version corresponds to the font software metadata
-  which you can check with ftinfo/otfinfo or fontforge itself. It is highly 
-  recommended that file 'ChangeLog' is updated to reflect changes.
-
-  Create a tarball with the following command:
-
-    $ make dist
-
-  The new versioned tarball will be available in the dist/ folder as
-  'liberation-fonts-[NEW_VERSION].tar.gz'.
-
-  7. Credits
- ============
-
-  Please read file "AUTHORS" for list of contributors.
diff --git a/source/README b/source/README
new file mode 120000
index 0000000..59a23c4
--- /dev/null
+++ b/source/README
@@ -0,0 +1 @@
+../README
\ No newline at end of file
-- 
_______________________________________________
fonts mailing list
fonts@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/fonts
http://fonts.fedoraproject.org/



[Index of Archives]     [Fedora Users]     [Font Configuration]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux