Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
net-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
net-tools
Commits
293bec6d
Commit
293bec6d
authored
Oct 02, 2012
by
Mike Frysinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update the dist target and add a distcheck target
Signed-off-by:
Mike Frysinger
<
vapier@gentoo.org
>
parent
70f48182
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
54 deletions
+15
-54
.gitignore
.gitignore
+2
-0
Makefile
Makefile
+13
-54
No files found.
.gitignore
View file @
293bec6d
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/config.make
/config.make
/config.status
/config.status
/net-tools-*.tar*
/lib/libnet-tools.a
/lib/libnet-tools.a
/po/*.mo
/po/*.mo
...
...
Makefile
View file @
293bec6d
...
@@ -5,14 +5,10 @@
...
@@ -5,14 +5,10 @@
# NET-3 Networking Distribution for the LINUX operating
# NET-3 Networking Distribution for the LINUX operating
# system.
# system.
#
#
# Version: 2001-02-13
#
# Author: Bernd Eckenfels <net-tools@lina.inka.de>
# Author: Bernd Eckenfels <net-tools@lina.inka.de>
# Copyright 1995-1996 Bernd Eckenfels, Germany
# Copyright 1995-1996 Bernd Eckenfels, Germany
#
#
# URLs: ftp://ftp.inka.de/pub/comp/Linux/networking/NetTools/
# URLs: http://net-tools.sourceforge.net/
# ftp://ftp.linux.org.uk/pub/linux/Networking/PROGRAMS/NetTools/
# http://www.inka.de/sites/lina/linux/NetTools/index_en.html
#
#
# Based on: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
# Based on: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
# Copyright 1988-1993 MicroWalt Corporation
# Copyright 1988-1993 MicroWalt Corporation
...
@@ -26,48 +22,6 @@
...
@@ -26,48 +22,6 @@
# This Makefile doesn't describe complete dependencies for all include files.
# This Makefile doesn't describe complete dependencies for all include files.
# If you change include files you might need to do make clean.
# If you change include files you might need to do make clean.
#
#
# {1.20} Bernd Eckenfels: Even more modifications for the new
# package layout
# {1.21} Bernd Eckenfels: Check if config.in is newer than
# config.status
# {1.22} Bernd Eckenfels: Include ypdomainname and nisdomainame
#
# 1.3.50-BETA6 private Release
#
#960125 {1.23} Bernd Eckenfels: Peter Tobias' rewrite for
# makefile-based installation
# 1.3.50-BETA6a private Release
#
#960201 {1.24} Bernd Eckenfels: net-features.h added
#
#960201 1.3.50-BETA6b private Release
#
#960203 1.3.50-BETA6c private Release
#
#960204 1.3.50-BETA6d private Release
#
#960204 {1.25} Bernd Eckenfels: DISTRIBUTION added
#
#960205 1.3.50-BETA6e private Release
#
#960206 {1.26} Bernd Eckenfels: afrt.o removed (cleaner solution)
#
#960215 1.3.50-BETA6f Release
#
#960216 {1.30} Bernd Eckenfels: net-lib support
#960322 {1.31} Bernd Eckenfels: moveable netlib, TOPDIR
#960424 {1.32} Bernd Eckenfels: included the URLs in the Comment
#
#960514 1.31-alpha release
#
#960518 {1.33} Bernd Eckenfels: -I/usr/src/linux/include comment added
#
# This program is free software; you can redistribute it
# and/or modify it under the terms of the GNU General
# Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at
# your option) any later version.
#
# set the base of the Installation
# set the base of the Installation
# BASEDIR = /mnt
# BASEDIR = /mnt
...
@@ -158,14 +112,19 @@ clobber: clean
...
@@ -158,14 +112,19 @@ clobber: clean
@
for
i
in
$(SUBDIRS)
;
do
(
cd
$$
i
&&
$(MAKE)
clobber
)
;
done
@
for
i
in
$(SUBDIRS)
;
do
(
cd
$$
i
&&
$(MAKE)
clobber
)
;
done
dist
:
clobber
dist
:
@
$(MAKE)
-C
po
$@
rm
-rf
net-tools-
$(RELEASE)
@
echo
Creating net-tools-
$(RELEASE)
in
..
git archive
--prefix
=
net-tools-
$(RELEASE)
/ HEAD |
tar
xf -
@
tar
-cvz
-f
../net-tools-
$(RELEASE)
.tar.gz
.
\
$(MAKE)
-C
net-tools-
$(RELEASE)
/po
$@
--transform
=
's,^[.],net-tools-
$(RELEASE)
,'
\
tar
cf - net-tools-
$(RELEASE)
/ | xz
>
net-tools-
$(RELEASE)
.tar.xz
--exclude
=
CVS
--exclude
=
.cvsignore
\
rm
-rf
net-tools-
$(RELEASE)
--exclude
=
'.git*'
distcheck
:
dist
tar
xf net-tools-
$(RELEASE)
.tar.xz
yes
""
|
$(MAKE)
-C
net-tools-
$(RELEASE)
config
$(MAKE)
-C
net-tools-
$(RELEASE)
rm
-rf
net-tools-
$(RELEASE)
@
printf
"
\n
The tarball is ready to go:
\n
%s
\n
"
"
`
du
-b
net-tools-
$(RELEASE)
.tar.xz
`
"
config.h
:
config.in Makefile
config.h
:
config.in Makefile
@
echo
"Configuring the Linux net-tools (NET-3 Base Utilities)..."
;
echo
@
echo
"Configuring the Linux net-tools (NET-3 Base Utilities)..."
;
echo
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment