We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bedaf2 commit 8c5b4faCopy full SHA for 8c5b4fa
example-pkg/package.sh
@@ -7,7 +7,9 @@ rm -rf sample* prototype
7
8
# make prototype file to list files to be packaged
9
echo "i pkginfo" >> prototype
10
-pkgproto usr=/usr >> prototype
+for i in `find . -maxdepth 1 -type d -print | sed '1d'`; do
11
+ find $i -print | sed '1d' | pkgproto >> prototype
12
+done
13
14
# make package into filesystem format
15
pkgmk -d . -r .
src/mk.config.head
@@ -3,7 +3,7 @@ VAR=/var
3
CFLAGS = -O
4
LDFLAGS=
5
CCSLDFLAGS=
6
-CPPFLAGS=-D_GNU_SOURCE -std=c89
+CPPFLAGS=-D_GNU_SOURCE -std=c89 -Wall -Wextra -pedantic
STRIP=strip -s -R .comment -R .note
LNS = ln -s
0 commit comments